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

0
votes
1answer
1k views

How can I create a new page on Site Settings page, Site collection Administration section?

How can I create a new page on Site Settings page, Site collection Administration section? I already know how to do it on central administration, but how to do it in this section for each site ...
1
vote
3answers
1k views

Delpoying farm solution (Application Page) sharepoint 2010 --Access denied

I am deploying an application page (globally), I have a button on the editform.aspx. When a user clicks on the button, it redirects to the application page in a new window but I am getting an error ...
0
votes
2answers
2k views

Handle the event generated by ddwrt:GenFireServerEvent('__name')

I have a custom DataFormWebPart that renders some content based on an XSLT. Inside the XSLT I have a button that does a postback like so: <input type="button" value="..." name="..." ...
0
votes
2answers
1k 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" ...
2
votes
2answers
430 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 ...
0
votes
2answers
1k views

Response.end - page does not respond after file download

I have created an application page to download file. I'm using the following code to download the file. After downloading file if I press the download button again it doesn't respond or post back. I ...
1
vote
1answer
322 views

Resources in Application Page

I've created an application page with a dropdown that's using resources, like this: <SharePoint:DVDropDownList ID="ContentTypesDropDown" runat="server"> <asp:ListItem Text="<%$ ...
7
votes
2answers
373 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 ...
4
votes
4answers
785 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 ...
5
votes
2answers
4k 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 ...
1
vote
2answers
1k 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
113 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 ...
0
votes
1answer
796 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
634 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

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
876 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 ...
2
votes
1answer
650 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, ...
0
votes
0answers
1k views

How to display data from list in applciation page using SPGridview

I have created an application page which display 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 ...
0
votes
2answers
152 views

SP2010 Update Site Title and Description - Security problem

I've created a custom application page to update the Title and Description of a site. The page is generating an access denied and the following error message in the log file: Unknown SPRequest ...
3
votes
2answers
197 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
321 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.
2
votes
2answers
766 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 ...
1
vote
1answer
206 views

Problem with XslTransform

I've tried to migrate an external application into Sharepoint using Application Pages. The external code is included as Class libraries that's installed into GAC when deploying. My application ...
1
vote
0answers
102 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 ...
5
votes
3answers
4k 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 ...
16
votes
4answers
10k 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
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
235 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 ...
2
votes
2answers
902 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 ...
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 ...
-2
votes
1answer
369 views

How can i use the CRUD in SharePoint 2010 list by using the SharePoint controls?

HI please help me to write custom code to create a custom page using following method. please let me know how can i use the custom control(I mean the SharePoint User Picker control). Are there any ...
0
votes
1answer
979 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 ...
6
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 ...
1
vote
1answer
475 views

How to Create Task Items With Custom List Dataview

I have created 2 custom lists in Sharepoint 2010: List #1: INTERNAL PROCESSES (fields: Process Title, Reference) List #2: PROCESS STEPS (fields: Step Title, Step Description, Process Title[lookup of ...
1
vote
1answer
565 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 ...
0
votes
1answer
210 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 ...
1
vote
2answers
408 views

Remove Sharepoint RadioButtonChoiceField Focus on application page

I have an application page with a bunch of asp textbox controls and then a sharepoint RadioButtonChoiceField control. When the page loads it will always set focus to the RadioButtonChoiceField is ...
4
votes
5answers
10k 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
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 ...
1
vote
2answers
477 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 ...
0
votes
1answer
393 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
1answer
158 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
338 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 ...
0
votes
2answers
946 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
3answers
878 views

Feature Activation Error(Cannot Add Dll to GAC)

We have created a feature, which has 2 application pages. One is to activate the user control and the other one is for database configuration. For the database configuration, the user has to provide ...
1
vote
2answers
147 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
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
681 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 ...
2
votes
2answers
429 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 ...
0
votes
2answers
545 views

Custom Application Page does not recognize tagPrefix defined in custom web.config

I have a custom application page integrated in Centeral Administration. My application pages are placed in a subfolder in Template\Admin folder. I placed my own web.config in my subfolder and added ...