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

16
votes
4answers
11k 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
5answers
13k 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
3answers
5k 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
2answers
394 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
461 views

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

How do I make a custom publish botton for a page and make it do the same as the ribbon publish botton? We have a request from the customer to make a simple page that should have a custom publish ...
7
votes
2answers
1k 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
5k 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
489 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
5k 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
3answers
5k 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?
5
votes
1answer
772 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 ...
4
votes
4answers
916 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
1k 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 ...
3
votes
2answers
1k 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
2answers
233 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
2answers
1k 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
715 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
118 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
69 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
2k 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
870 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
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
2k 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
349 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
265 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
3answers
4k 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 ...
2
votes
2answers
992 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
435 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
1answer
199 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
187 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
681 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
896 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
2answers
757 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
843 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
94 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
2answers
140 views

2010: How to connect to a SQL database on the same SQL server as the SharePoint databases?

In the code behind of an application page, I need to query a SQL table from a database which is on the same server and instance as the SharePoint content and config databases. Is there an easy way to ...
2
votes
2answers
315 views

How can I put a web part on an application page that can be deployed to any site?

I have an XSLTListViewWebPart on an application page. Why I use visual studio to deploy it to the development site, it works fine, but when I use central administration to activate the feature on ...
2
votes
3answers
65 views

Custom Page in Sharepoint 2010

Sorry guys, I believe, I have framed my question in wrong way. Let me put that here now. I am supposed to implement the automation of listing of jobs on our intranet. We will have two types of jobs ...
2
votes
2answers
449 views

HTML placeholder attribute is not a valid attribute

On SharePoint application page I am using placeholder in like this: <input type="text" id="name" name="name" placeholder="your name" /> But placeholder is underlined and says: Validation ...
2
votes
2answers
448 views

Document library open file in application page

Is it possible to handle the click event of a file in a sharepoint document library so that instead of opening the actual file, it opens an application page? E.g. Open letter.xml goes to letter ...
2
votes
1answer
710 views

Custom sign out page, not removing cookies

In my custom login script I'm creating a cookie that can be read by other company web applications. The code for this is: setCookie("Communities", "LoggedIn=true&NSContactId=" + NSContactId, ...
2
votes
1answer
543 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 ...
2
votes
0answers
200 views

Has the search alert API in SharePoint 2013 changed from the 2010 and Preview 2013?

I previously developed a Visual web part to programmatic-ally create Search alerts based on the user input. I used a text box to capture the text and create a Query using the Keyword Query Class. Then ...
2
votes
1answer
230 views

Is It Possible to Add the SharePoint List View Related Ribbon to the Application Page?

Is it possible to add the list view related ribbon to the application page? I have a list view webpart in my application page. Now I don't have any ribbon like list view web part. Is it possible to ...
1
vote
2answers
241 views

How do you build an app on SharePoint?

We're building a personnel system for an HR department. The final solution will be sitting in SharePoint 2007 (upgrading to 2010 in 6-12 months). We've built a data model, and now we're faced with a ...
1
vote
5answers
1k views

Create complete site programmatically

I want to create a complete site in Visual Studio (Sandbox solution), so it is easy to deploy (with one press on the button on site collection level) to Office 365 / SharePoint Online. I can create ...
1
vote
2answers
2k views

Wrong URL all the time

I have an application page, added to a site collection. I open the page by the url: http://servername/sitecollection/_layout/sc/page.aspx I have added some links, which should open the SAME Url with ...
1
vote
3answers
394 views

How to create an VS application page that does not inherit the master page?

We are creating an application page and do not want it to inherit the masterpage. Is this possible?