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
3answers
1k 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 ...
1
vote
1answer
546 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 ...
0
votes
1answer
82 views

Best practice in SP2013 for simple ASP.NET functionality?

Disclaimer: I am not a Sharepoint developer, but I know my way around ASP.NET fairly well. I have inherited a simple ASP.NET web forms page (one .ASPX and a code-behind) in our current Sharepoint ...
0
votes
2answers
2k views

How to add .aspx page to Module in Sandbox solution?

When I am adding any application page(.aspx) to my Module in the Visual Studio Project of SandBox Solution, it is always adding that page in Layouts(Mapped) folder. And not adding that page in the ...
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 ...
1
vote
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 ...
0
votes
1answer
57 views

Attribute 'DisplayTitle' is not a valid attribute of element 'WebPartZone'

I have a Microsoft.SharePoint.WebPartPages.WebPartZone declared on an application page: <%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" ...
1
vote
0answers
144 views

How can i extend the rich text editor behavior?

I want to extend the behavior of RteUploadDialog.aspx. When inserting a image in Rich Text Editor, i would like to upload the image to another server Image Library. I guess i could create an ...
0
votes
2answers
61 views

deploy application page to multiple folders

I have an app that applies to two different groups and each has a different database. Example: _Layouts/dept1/SomePage.aspx (uses dept1db) _Layouts/dept2/SomePage.aspx (uses dept2db) I would like ...
1
vote
1answer
436 views

Application Page VS Template Not Generating Designer Files

I've been banging my head on this one. I've never used the auto-generated designer files in Visual Studio before (it's the OCD...), but I'm trying to use them now and I don't know if this is a known ...
1
vote
1answer
522 views

Can I add Media Web Part to Application Page?

I am trying to implement a video library page in Sharepoint. What I have is a Video Library where each of subfolder will represent a playlist. I want to create an Application Page which will have a ...
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 ...
2
votes
3answers
63 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 ...
0
votes
1answer
30 views

Automation with Sharepoint 2010

I have a scenario where I need to get the job listings from a feed(which will give me the list of jobs in XML file) and display it in a sharepoint page. I will have a the daily feeds coming in. Please ...
5
votes
5answers
11k 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
179 views

Full-Trust Solutions on SharePoint Online Dedicated

I am trying deploy a solution to SharePoint Online (SPO), after looking at documentations about SPO, I found only Sandbox Solutions and Apps can be deployed to SPO, but my solution is a Farm Solution. ...
0
votes
2answers
247 views

SharePoint 2010 Cannot access Properties or Events of my Custom UserControl in my Application Page

I have created a UserControl (Farm) in my SharePoint Project using VS2012 (for SharePoint 2010). I want to embed/host this in an application page. I have added properties and events to the ...
0
votes
1answer
54 views

storing persistant data at farm level for a timer job

Ive created a timer job and a application page so i can set some custom values that the timer job uses. Im currently storing the values in the farm.properties hastable so that the timer job can ...
0
votes
1answer
71 views

SharePoint Application Page SQL Server Connection Fails With Error

I have developed an application page for SharePoint 2007 and it works fine. When I tried to connect to SQL Server 2005 database I am getting following error: Request for the permission of type ...
0
votes
1answer
2k views

SPLongOperation only starts at operation end

I'm using an AppPage showed up in a ModalDialog and when I click on a button action I try to start a SPLongOperation process, but it only shows the processing panel right before it ends. here is the ...
0
votes
2answers
263 views

SharePoint 2010: Application Page: Javascript error: “is not a function”: works on one environment, not on another

I have a SharePoint solution with an Application Page, which references several Javascript files. I have a sandbox server where I test and a production server. I did not set up either of these ...
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 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
22 views

Deploying Application Page Project 2 Different Places

I have 1 application page project and it is deployed. Now I want to make a change to it and deploy it somewhere else (same server and site) without retracting the currently deployed one. From one ...
1
vote
1answer
2k views

Use application page as edit form on list?

I createad an application page and put it under /_layouts/, in the list definition I specified the edit form like so: <FormUrls ...
1
vote
1answer
2k views

Working with args option of SP.UI.ModalDialog.commonModalDialog

I have the following situation: In my Sharepoint 2010 ASP.Net Application page app I want to allow my users to select a Supervisor for an employee who's information they (the user) is modifying. For ...
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
1answer
637 views

How to deploy a Custom Page in a SP 2013 SandBox solution?

Is it possible to deploy a custom WebPage in a SP 2013 SandBox Solution?
0
votes
3answers
895 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 ...
3
votes
2answers
960 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 ...
2
votes
2answers
337 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 ...
0
votes
1answer
191 views

Deploying Aspx in specific subsite

I need to deploy an .aspx from visual studio, to a sharepoint subsite. I can deploy it fine in the layout folder. How can i deploy it in a subsite so that it can be added in the quick link section ? ...
0
votes
0answers
161 views

Custom Central Admin page - access denied

I created a custom application page which is deployed to the web applications section in central admin, following this guide: How to: Deploy an Application Page to Central Administration I am a farm ...
0
votes
4answers
3k views

Detected use of SPRequest for previously closed SPWeb object after SPQuery

this code run yesterday very well and today I've been trying to solve this error for hour now : Please close SPWeb objects when you are done with all objects obtained from them, but not before I ...
2
votes
1answer
181 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 ...
0
votes
2answers
157 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 ...
1
vote
0answers
205 views

Default List pages (NewForm.aspx/EditForm.aspx) and breadcrumbs

All, My understanding of SharePoint is that NewForm.aspx/EditForm.aspx et al. are Application Pages that for each List are initially fetched from the Hive directly and processed by ASP.NET, but can ...
1
vote
0answers
85 views

changing language on application page

I am using following code to change the language of HTML form on application page: <asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server"> ...
2
votes
1answer
685 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
1answer
103 views

How to get a custom webpart from a site using code?

I have created a custom webpart. I want to get that webpart and add it to my custom application page using code. How can I get it?
2
votes
3answers
172 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 ...
1
vote
1answer
615 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 ...
3
votes
1answer
339 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.
0
votes
1answer
55 views

SharePoint 2007 - How to configure different RootFolders for lists added to a page as web parts

For example: I have a page (http://examplesite/Pages/MyTeamPage.aspx) with two lists added as web parts. 1.Invoices 2.Tasks I want to show different folders of each list. Invoices - ...
1
vote
1answer
318 views

How to enable anonymous access to custom app page

I'm trying to make a custom application page which can be viewed by anonymous users. So far I've: Inherited the code behind from UnsecuredLayoutsPageBase Overriden AllowAnonymousAccess to always ...
7
votes
2answers
431 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 ...
0
votes
2answers
100 views

Does Pages in SharePoint 12 hive have code behind files

I am not sure if we call them application pages or something else but am talking about standard sharepoint forms like "NewForms.aspx" or "EditForm.aspx" for lists in 12 hive. Does they have any code ...
0
votes
2answers
572 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 ...
2
votes
0answers
189 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 ...
1
vote
1answer
96 views

Link to Application Page in Sidebar

This sounds like a stupid question, but I cannot seem to figure it out. From Visual Studio, I have deployed an application page to my local SharePoint server. I can get to it directly by entering ...