New answers tagged application-pages
0
There is no Provision to add Application Page .aspx page using visual studio. Create a blank SharePoint application next add new item SharePoint module. This Module contains the sample.txt file to the desired .aspx file. And then pasting the markup inside the new file.
Please see this link for more referral
...
0
Create a custom application page using Visual Studio:
Drop a SPGridView:
<SharePoint:SPGridView ID="grdResults" runat="server" AutoGenerateColumns="False" GridLines ="None" AllowPaging="true" PageSize ="30" OnPageIndexChanging="gridView_PageIndexChanging" EnableViewState ="true" CssClass="mGrid" PagerStyle-CssClass="pgr" ...
0
Several options that come to mind. You can use an RSS web part, an XML viewer web part, create your own dataview web part, create a visual web part.
0
If you don't want to directly reference WebPart type in the code, you can use SPLimitedWebPartManager.ImportWebPart method.
You just need to provide content of the *.dwp or *.webpart description file for the webpart instance you want to import.
1
You can't deploy farm solutions on spo period.
However you can work around every issue there is with sandbox with using csom and apps.
Take a look here.
http://hughajwood.wordpress.com/2012/12/10/sandbox-solutions-a-necessary-evil/
If it goes down I will update this link.
0
Here is the method of SPLimitedWebPartManager class which opens the closed web parts
// Summary:
// Opens a dynamic Web Part that was previously closed by CloseWebPart so it
// renders on the WebPartPage.
//
// Parameters:
// webPart:
public void OpenWebPart(System.Web.UI.WebControls.WebParts.WebPart webPart);
0
It was to do with the naming of the ControlTemplates folder. This is created as ControlTemplates. I came across an article on this issue (lost link now). Renaming the folder to _ControlTemplates resolved this issue.
0
The SPFarm.Properties hashtable is sometimes referred to as the Property Bag as well (e.g. the Property Bag Settings tool is just a UI for the .Properties collection). So unless you are referring to something different, they are the same thing.
0
You will need to make sure that either the caller's domain account or the SP application pool account has the proper permissions on the SQL 2005 database. The account used when making the call depends entirely on your code.
0
<%@ Register TagPrefix="uc1" TagName="BlahBlahBlah" src="~/_controltemplates/MyApp/BlahBlahBlah.ascx" %>
the above should work! unless you dont have that file in 14hive or wrongly named!
Also make sure that your folder in 14 hive is accessible! goto controltemplates folder find MyApp and right click and select "properties", click on security tab and ...
Top 50 recent answers are included

