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 ...

learn more… | top users | synonyms

22
votes
4answers
14k 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 ...
9
votes
5answers
21k 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.
8
votes
2answers
691 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 ...
8
votes
3answers
12k 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 ...
7
votes
4answers
10k 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?
7
votes
2answers
1k 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, ...
7
votes
2answers
2k views

Webparts on Application Pages (_layouts)

Is it possible to have web parts on application pages. In other words having a web parts page in the _layouts catalog? Have tried inheriting from webpartpage, no errors but nothing happens when ...
6
votes
2answers
8k 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 ...
6
votes
2answers
642 views

Admin vs application page

In SharePoint, there are admin and application pages. What's the difference between an admin and an application page?
5
votes
3answers
11k views

How to run with elevated privileges in application page?

I want to get a list item that the current user does not have access to but I need to get it in code. When I use SPSecurity.RunWithElevatedPrivileges that does not work. It's because I'm using the ...
5
votes
1answer
850 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 ...
5
votes
1answer
53 views

Getting the Url that the user tried to access

I am trying to develop a Custom Access Denied Page. Trying to display some information on the page. User's information, The site they came from, and the document/page they tried to access. I can get ...
4
votes
4answers
1k views

Custom Application page design

I have created a application page and I want it's design layout to look something like the standard Sharepoint pages like Add site column(fldNew.aspx) page. Could someone tell me how to accomplish ...
4
votes
1answer
2k views

How do create a page from pagelayout using code in sharepoint 2013

I was wondering, what APIs are available if I'm writing a farm-based sharepoint solution, for sharepoint 2013. Basically I read about this thing called Page Layouts, and they seem like page ...
4
votes
2answers
91 views

SPWeb object will be dispose everytime or not?

I have following code in my web part. I want to know whether this property _web will create object each time whenever I use it. If yes then will it be disposed every time. private SPWeb _web { ...
4
votes
1answer
214 views

Context menu not showing on right click

I don't understand how in SharePoint you can activate a right-click context menu on the rows of a list web part. I have two different pages. In each page I have 4 views. For some reasons (?) in page ...
3
votes
2answers
2k 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
3answers
6k views

Get current page absolute url

I want to get the current page absolute url in sharepoint.. I'm using: this.Page.Request.Url.ToString() But for: http://e-albania.tirana.bz:6002/sites/ealbania02/_layouts/IISNewsBox/news_view.aspx ...
3
votes
2answers
334 views

Is it possible to debug the DLL of a built in _layouts application page?

I'm getting a vague error (as below) on the built-in _layouts/ChangeFieldOrder.aspx page which uses the DLL "Microsoft.SharePoint.ApplicationPages". "Object reference not set to an instance of an ...
3
votes
1answer
73 views

Which is recommended form control to use in SharePoint?

When trying to develop Web Part or Application page or modifying existing SharePoint application pages like (user.aspx, create.aspx, etc..) From below list which control is recommended to use ...
3
votes
2answers
2k views

Deploy application page to a custom path

I'm fairly new to SharePoint, and I was given the task of creating an application that basically consists of a couple of static pages that consume Java-based web services. Currently, I'm creating ...
3
votes
2answers
807 views

SharePoint webpart and application page

I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work this is the code that ...
3
votes
1answer
127 views

Move an Application Page from WebApplication to Central Administration

I've made an Application Page (derived from LayoutsPageBase) and it's showing in the WebApplication Settings correctly. Now, I need to move it to the Central Administration level. Must I change my ...
3
votes
1answer
184 views

How to use Application Pages for a content type's form

I want to use a custom application page for my workflow task view/edit form, I searched the internet and find it is possible to set url for content type's edit/view form, my code to update task's form ...
3
votes
2answers
3k views

How do I deploy custom list edit forms in the sandbox?

I'm creating a List Definition for use on 2007, 2010 (Sandboxed), and 2010 (unrestricted) that will need custom new and edit forms; unfortunately the Sandbox specifically excludes custom application ...
3
votes
1answer
2k views

How to add ribbon to application page by visual studio?

I have created one application page and deployed that.But ribbon is not appearing at the same page? Any guesses or solution for this?
3
votes
1answer
950 views

Add webpart to application page programatically

I want to add a webpart on page load to the application page, I want to deal with the webpart like any other control, like adding a label in the page load function, but I want to view this webpart ...
3
votes
2answers
1k views

SharePoint 2010 how to customize display form using application page or code behind

I am working on a project that requires code behind in the dispform.aspx as well as the edit and new form. The reson being, I am synching to a web service, on view of an item, I want to make a sall ...
3
votes
2answers
3k 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 ...
3
votes
1answer
414 views

Intellisense for Visual WebParts (ASCX) and Custom Application Pages (ASPX) in VS 2010

How can I enable intellisense for visual webparts (.ascx) & custom application (aspx) pages in VS 2010? It would save me a lot of time! Thanks in advance.
3
votes
0answers
338 views

Where to see the runtime errors occurred in custom application pages

I created one custom application page and deployed into the sharepoint site. When I open that application page which resides in the _layouts folder, it is showing runtime error. How to solved this? ...
2
votes
2answers
1k views

Why do custom Application Pages produce exceptions after installing June 2011 CU?

We recently applied the June 2011 Cumulative Update on our MOSS 2007 servers and had the February 2011 CU before that. Since we installed the June CU all our custom application pages (e.g. an ASP.NET ...
2
votes
2answers
455 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 occured when ...
2
votes
2answers
4k views

Can an Application Page Permissions Be Set from SharePoint Foundation 2010?

Apologies up front... I'm quite new to SharePoint. I'm developing an application page in SharePoint because what I'm doing is a lot of custom development, AJAX/jQuery external database, custom ...
2
votes
1answer
671 views

Application Page deployed to Central Admin does not show

Hi Guys I have this problem: I want to deploy a custom application page to the SharePoint Central Administration. I found these 2 links: ...
2
votes
1answer
280 views

Use different masterpage for pages library

How do I go about applying a custom masterpage just to "front end" pages? i.e. I want all of the administration parts of the SharePoint site to follow default look and feel (viewlsts.aspx, managing ...
2
votes
3answers
244 views

Changing language of custom application page

I am new to SharePoint. I am creating a custom application page (small registration form). I want to give users a facility to change language of the registration form. Is this functionality is ...
2
votes
3answers
2k views

Deploy application page on a web application not the farm in sharepoint 2010

I'm deploying an application page on sharepoint 2010 but why I can't deploy it only on a web application. I can only deploy it globaly... I tried to change the option in visual studio 2010 but I have ...
2
votes
3answers
945 views

Code Behind in Web Part Page that can interact with controls?

Classic SharePoint quandry, but so far the resources I've looked at haven't helped. On one hand, application pages work perfectly, but having them live in the 14 hive isn't ideal for a number of ...
2
votes
2answers
927 views

Application pages and master pages

We plan to use SharePoint 2010 application pages and wondered about our current setup, which has the default master page (v4.master) with no changes but a heavily customized page layout for the ...
2
votes
1answer
60 views

How can I save SPList in XML?

I have some SPLists in my SP. I take some one List like that Guid listGuid = Guid.Parse(listID); and watch id SPList list = web.Lists[listGuid];. But i don't know how i can save list in xml file in ...
2
votes
1answer
23 views

Deploy page to Office 365

I want to have page in across all SharePoint sites in Office 365. I know I can't use pages on the _layouts, but my goal is to create page for users to see and get support information to contact the ...
2
votes
1answer
46 views

Application Page not reponding after 4.00 Minutes

I have a SharePoint application page which is having a usercontrol and that user control is having RAD Controls and script managers. The problem I am facing is that if the operation takes more than ...
2
votes
1answer
741 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, ...
2
votes
1answer
2k 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 ...
2
votes
2answers
899 views

Page, Dialog and update panel issue

I have page, where user can choose where he wants to copy library element. Since copying can take longer time, I'd like to give some information that actually something is going on. It is also ...
2
votes
2answers
914 views

2010 UI Version 3 site & application master page

I have switched a site back to use UI version 3, so this basically works as a 2007 site would. I would expect that when accessing application pages this would use the application.master in the ...
2
votes
2answers
1k views

TransferToSuccessPage() when SPLongOperation is running

I am using SPLongOperation() , the scenario is: Splongoperation operation=new splongoperation(); operation.begin(); try { /// all working... } catch(exception excep) { ...
2
votes
1answer
97 views

Running code that creates a TimerJobDefinition outside of Central Admin

I have run into a problem several times now where I have developed a custom timer job, and I want my site collection administrators to manage the schedule of this job with a custom application page ...
2
votes
1answer
3k views

How to apply custom master page to application page in 2013

After upgrading a 2010 site to 2013 in 2010 UI mode, I'm unable to apply a custom master page to application (_layouts) pages. The custom master page has been configured as the Site and System master ...