Questions tagged [application-pages]

An application page is an ASP.NET Web page that is designed for use in a SharePoint Web site. Application pages are a specialized type of ASP.NET page. The primary difference between an application page and a standard ASP.NET page is that an application page contains content that is merged with a SharePoint master page. A master page enables application pages to share the same appearance and behavior as other pages on a site.

Filter by
Sorted by
Tagged with
14 votes
5 answers
27k views

How to programmatically add a webpart to a page?

I have created a webpart, now I need to add that webpart programmatically into the EditForm.aspx page. Can anyone help me on this.
  • 1,379
12 votes
2 answers
11k views

Is it possible to add web parts to an application page?

I was asked to add a list view web part to an application page. I added a web part zone into the page markup. I got a security error when I tried to add it so I added a form digest control (not sure ...
19 votes
4 answers
33k views

Difference beween wiki page, application page, web part page and publishing page

There are lots places in msdn sharepoint forums and blogs where these terms are used and I am confused between them. Can anybody clarify?
1 vote
3 answers
4k views

Possible to have the default landing page of my Sharepoint Site be an applicaiton page?

So basically when someone goes to: http://mysite.com I would like to show an Application Page that I have created, without the giant URL. Example of the giant URL : http://mysite.com/_layouts/ap/...
  • 6,725
0 votes
3 answers
5k views

Use an application page as the default/welcome page [duplicate]

Is it possible to use an application page, residing in the _layouts folder, as the default Welcome page of SharePoint? According to the WelcomePage property, only Site Pages can be used as the ...
12 votes
3 answers
20k views

Understanding ghosting, unghosting, site pages and application pages

well I know definitions of these terms as mentioned: Ghosted pages: Pages which are on file system and not on content db. Unghosted pages : pages which are on content db. Application Pages : normal ...
  • 810
5 votes
1 answer
898 views

How can I show an Application page on Feature Activation?

We are developing a custom module for SharePoint. The custom module is based upon SmartPart which means we have created UserControls. There was a problem with SmartPart deployment method as it ...
user avatar
3 votes
2 answers
482 views

Custom Error Page for SharePoint

We've created an Application Page which configure database for custom modules. We've designed this Application Page with SharePoint custom control. There are some errors which can be occurred when ...
  • 225
1 vote
2 answers
7k views

How to display list on application (aspx) page by visual studio?

I have created list and application page in visual studio for sharepoint.Now I have to show that list on that application page. I have option of using SPServices. But is there anything I can do with C#...
0 votes
3 answers
1k views

SharePoint People.aspx Page is Visible for All Users

The SharePoint People.aspx page is visible for all users by default. Is there any way to restrict this page from certain readers?
  • 1
28 votes
4 answers
16k views

SharePoint 2010 Application Pages. vs. Web Parts

I have done many a search on this issue with mixed results and ensuing ambiguity. The time has come to nail it down for good. If I'm developing the equivalent of a complex ASP.NET application, and I ...
8 votes
2 answers
1k views

How do I make a custom publish button for a page and make it do the same as the ribbon publish button?

How do I make a custom publish button for a page and make it do the same as the ribbon publish button? We have a request from the customer to make a simple page that should have a custom publish ...
7 votes
2 answers
2k views

How can I get the ID of the connected Item of ListView?

I have three connected ListView web parts on an application page, and I want to be able to access the item that is selected in each web part. This is not selected as in the "checkboxes" but rather, ...
  • 205
3 votes
2 answers
3k views

How does SharePoint store versions of customised pages?

While a page is uncustomised (previously known as unghosted) it is stored on the file system, however once it is customised (previously known as ghosting) it is copied to the DB. Source 1 and Source 2 ...
3 votes
2 answers
4k views

Logout in Mozilla and chrome not working / ADFS Authentication

I have custom logout page created. I have used an application page for logout. In the application page, I use a javascript and say document.execCommand(ClearAuthenticationCache). This works fine in ...
  • 4,904
3 votes
4 answers
6k views

How to deploy Visual Studio project to SharePoint online site

I think this is a simple question: How do I deploy projects from Visual Studio to my SharePoint Online site? I have searched the internet far and wide for a solution and cannot seem to find anything ...
  • 255
2 votes
1 answer
1k views

Trying to view custom application page in browser results in "404 FILE NOT FOUND" error

In VS2010 I created a new .NET 3.5 solution and inside a new project for SharePoint 2010 (empty project called "SPAppPageTest"); I deployed it as a farm solution. I added a new application page, ...
  • 652
2 votes
1 answer
3k views

Security For Custom Application Pages

When managing security for any control on a page we use SPSecurityTrimmedControl. But what to do when defining permissions for a custom application page? How do we restrict unauthorized people to ...
  • 997
1 vote
3 answers
1k views

Application page as home page

I am developing a SharePoint 2010 Project totaly in Visual Studio and C#. I do not want to use SharePoint Designer and configuration via browser. I need to set a LAYOUT page (application page) as ...
1 vote
1 answer
2k views

SharePoint 2010 Modal Dialog on Page Load

I have created an application page that mimics an input form. This form will eventually go into an SP List with other forms. What I'm after is when a user clicks the link to the form from the SP ...
  • 207
1 vote
1 answer
846 views

Display SPUser Information on an application page

I have an application page (SP2010) where I have a SPUser object (the current user), now I would like to display this SPUser as an Hyperlink on the apsx, linked to his UserProfilePage (userdisp.aspx) ...
1 vote
0 answers
2k views

How to display data from list in application page using SPGridview

I have created an application page which displays data from the list. I am able to see dropdown and labels server control./ but when i try to bind the list data to the SPgrid view , nothin gets ...
  • 4,904
1 vote
2 answers
1k views

Saving file from SharePoint Server to shared folder - Which user account?

We are trying to save a file temporarily from the SharePoint 2010 Server to a shared folder in the network from a custom application page. This part is done in the code behind file of the application ...
  • 179
0 votes
1 answer
1k views

InputFormCustomValidator doesn't work

I have custom application page, and I need some custom client side validation. After spending hours on trying to make asp.net CustomValidator to work, I googled a lil bit and found few posts, that ...
  • 407
0 votes
2 answers
4k views

Include javascript on application pages

I need to do some client-side alterations to some of the application pages, specifically the permission page (User.aspx). I need the javascript file to remove the "Administrate Parent Permissions" ...