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

4
votes
4answers
940 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 ...
6
votes
2answers
6k 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 ...
2
votes
2answers
770 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 ...
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 ...
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 ...
17
votes
4answers
12k 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 ...
0
votes
1answer
963 views

adding files to SitePages

The following code supposed to add copyitem.aspx file to SitePages. I go to the subsite via SP Designer. I can see "Site Objects" on the left navigation. I click on Site Pages and I get "The ...
2
votes
2answers
853 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
3k 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 ...
1
vote
1answer
1k views

Deploying an Application Page with code behind to a document library using Visual Studio 2010

I'm developing a new Application Page using Visual Studio 2010 with code behind it. When I deploy the solution, the page gets deployed to the _layouts folder but I would like to have the page for ...
3
votes
2answers
247 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 ...
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 ...
1
vote
0answers
103 views

Application Page 404 - Upgrade from 2007 to 2010

In a 2007 Publishing site developed for a client I deployed some custom pages to URL /CustomPages/Programmes.aspx (rather than application pages going in _Layout). The site custom master page was used ...
1
vote
1answer
2k views

SharePoint 2010 Ribbon on Application pages

I'm trying to create a SharePoint 2010 application page (AKA layout page) to display some information and allow users to perform some custom functionality. I need to display custom ribbon tab for the ...
0
votes
1answer
1k views

resx strings in application pages

I want to use strings from my resx-files in my application pages. How can I refer to my resource file? <h2><%$Resources:MyProject,Test_String_Heading%></h2> results in page crash.
1
vote
2answers
242 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 ...
0
votes
1answer
1k views

Running powershell within a SharePoint application page (C#)

I have a feature that deploys an application page to the layouts directory. I am attempting to update the content (or config?) database by executing a powershell command from c#. The following code ...
1
vote
1answer
591 views

How do application pages compare to ASP.NET web forms?

We are considering moving from an ASP.NET Web forms model to SharePoint 2010 Application Pages. The main reason for this is so we can utilise the SharePoint Foundation solutions framework rather than ...
1
vote
2answers
552 views

Getting the HtmlEditor control to work on a SharePoint 2007 Application Page

I need to use the HtmlEditor control within an application page in SharePoint 2007 but I'm unable to get it to work. Do you have any ideas what I need to do? Using the following aspx code the editor ...
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 ...
0
votes
1answer
212 views

What are some methods to secure Application pages?

I'm jumping into SharePoint 2010 (first SP version for me) and I'm building some application pages. I'm trying to secure the pages by dropping a web.config in the dir with role authorization. Is ...
0
votes
1answer
420 views

Get the current List and Item from an application page accessed from a feature link

I've created a new feature for a specific list. This new feature will show a button in the EditToolBar of a list page when editing. After clicking that new button, it should take you to another page ...
0
votes
2answers
1k views

SpGridView and Get Selected Row Data

I am using SPGridView. I want to fill textboxes with the SPGridview Selected Row Data on a button click event. Does anyone know how to do that? My code: txtCode= ...
0
votes
1answer
159 views

How to show the current site lists names inside the application page?

How to show the current site lists names inside the application page?
1
vote
0answers
351 views

Exception loading SharePoint dependent assembly using reflection [closed]

I've created a custom Central Admin .aspx page that inherits from the OperationsPage base class, which is defined in Microsoft.SharePoint.ApplicationPages.Administration.dll. Naturally, I added a ...
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) { ...
0
votes
1answer
774 views

SPUtility.TransferToSuccessPage() throwing Exception

in my application page when i m using Sputility.transffertosuccesspage ,its throw an exception, " Unable to evaluate expression because the code is optimized or a native frame is on top of the call ...
1
vote
2answers
149 views

Updating web.config revert previous updates

I've a SPJob Scheduled with a package (wsp) installation which update web.config and a Application Page which also build to update web.config. The problem is when I install the package it ...
2
votes
2answers
436 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 ...
5
votes
1answer
780 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 ...
1
vote
2answers
557 views

Can application pages be attached to a specific list

I have a scenario where I need to create an application page that is installed to the ECB menu of a specific list only. Is this possible? or is the only way to do it associating the elements file with ...
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 ...