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
2answers
3k 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
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 ...
1
vote
1answer
2k 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
90 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
203 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
70 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
740 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
590 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
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 ...
2
votes
3answers
69 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
32 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 ...
0
votes
2answers
380 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
72 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
92 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
2answers
379 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
8k 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
3k 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
24 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
3k 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
2k 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
1k views
0
votes
3answers
1k 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
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 ...
2
votes
2answers
880 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
291 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
262 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
5k 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
241 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
172 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
271 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 ...
2
votes
0answers
96 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
778 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
118 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
228 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 ...
3
votes
1answer
381 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
61 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
774 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 ...
0
votes
2answers
120 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
654 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
235 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
173 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 ...
0
votes
1answer
36 views

How do i add a page to a web template

I have created a basic web template using the following post and added a custom list to it, this works fine. http://sebastiantegel.wordpress.com/2012/06/26/webtemplates-is-the-way-to-go/ I now want ...
1
vote
2answers
354 views

Access denied even though AllowAnonymousAccess is true

I have a weird problem. I'm making an application page public using protected override bool AllowAnonymousAccess { get { return true; } } I use the same ...
1
vote
1answer
237 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 ...
0
votes
2answers
284 views

Results.aspx Page Layout Broken

I have deployed a custom branding project as a Feature, to a SharePoint 2010 Publishing site (Intranet) - just some stylistic tweaks and a custom master page. When I perform a search and land on the ...
0
votes
1answer
3k views

Redirect from Application Page to ~site/_layouts/newsbweb.aspx

I have created a Custom Action which appears on "Site Actions" and when you click on it, it opens a modal diaglog which is a Application Page. within this Application Page I want to redirect to ...
3
votes
3answers
5k 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
1answer
242 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
1answer
185 views

Windows authentication for an application page without Kerberos?

I'm investigating ways to integrate an existing SQL Server database into my firm's Sharepoint installation. I've put together some external content types, but I'd also like to develop an application ...