Tag Info

New answers tagged


Late Answer....What worked for me is this Just replace DynamicMasterPageFile="~masterurl/default.master" with MasterPageFile="../ttl.master" Where ttl.master is the master page you want to use See Below <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="xxxxx.aspx.cs" Inherits="TSharePointProject.Layouts.TSharePointProject.xxxxx" ...


You can use CAML query and define ViewFields. Example SPQuery query = new SPQuery(); qry.Query = "<Where><Geq><FieldRef Name='ID' /><Value Type='Text'>1</Value></Geq></Where>"; qry.ViewFields = <FieldRef Name='Title'/><FieldRef Name='ID'/> items = list.GetItems(qry);


I think we can use SharePoint content place holders in application pages. You can use the following <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server"> <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" ...


There are two timeout properties in web.config Upload Download Please make sure you have adjusted the correct one.


I had to include the master page (.master) in the project and then reference the master file in the application page for it to work. Add a Layouts scoped folder and add the master file to that folder. Make sure you actually add the master file to your project and reference from there.


I have two ideas: Have to tried to run he run with ElevatedPrivileges? Could you try to give the IIS Application Pool Accounts permisions on the directory where the original .dll resides and see what happens Hope this helps.

Top 50 recent answers are included