ASPX is the file extension for an ASP.NET page. These pages typically contain static (X)HTML markup, as well as markup defining server-side Web Controls and User Controls where the developers place all the content for the Web page.

learn more… | top users | synonyms

5
votes
3answers
3k views

How do I fetch the attachments from an AttachmentsField control?

In WSS 3.0, I've got an edit form which includes an AttachmentsField control. It corresponds to the list of existing attachments, with delete links. In a normal edit form, if you delete an attachment ...
4
votes
2answers
86 views

How to create custom error page in sharepoint 2013

I want to create the custom error page for site.
3
votes
4answers
5k views

How to download a sharepoint aspx page from server using powershell

I made some changes to sp aspx pages on a environment. I want to move these changes to my TFS. Usually one takes the pages using designer, save it to the desktop, and save that to TFS. But is there ...
3
votes
2answers
2k 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
2k views

Uploading aspx file to document library

I am trying to upload an aspx page to a document library that I use the keep all my pages in. The immediate thing that sprung to mind was some kind of permissions problem, but this should not be the ...
3
votes
0answers
667 views

Content controls have to be top-level controls in a content page or a nested master page that references a master page

I build an MVC application and I run it by linking a content editor webpart to the index.html file. That usually works fine but I'd like to build it into an aspx page and link to that page directly. ...
3
votes
4answers
854 views

Write items from a SP list to html

I've very recently picked up SharePoint and have a limited knowledge of programming so you'll need to bear with me here. I'm currently building on a development site collection in SharePoint Online ...
2
votes
3answers
919 views

How to have usable aspx files at the root of a sharepoint site?

I have a sharepoint site. In its IIS directory I've created an aspx file. When I browse to it using IE - I get a 404. I'm using it for testing out controls relating to SharePoint. How can I make ...
2
votes
2answers
241 views

Changes in SharePoint Online (Office 365)

I have an idea to solve a problem by adding jQuery/javascript to a aspx page (in this case the DispForm.aspx) But I thought I've heard that SharePoint Online installs automatically updates. Can this ...
2
votes
2answers
2k views

Is it possible to style mobile list views?

I have been working on a task to style mobile lists views and since then, I have been unable to find a solution in terms of how I could get the views styled. So I am starting to wonder if is it really ...
2
votes
1answer
181 views

Count characters in text field

I have a simple custom developed list that contains three columns, one of these columns should take maximum 7 characters, otherwise problems are caused, thus I want to make the user aware of the ...
2
votes
2answers
1k views

Java script alert box is not getting displayed through code behind file C#

I need to implement a functionality in which first I have to show Java Script from code behind file and then user needs to be redirected to other page. I have used both ...
2
votes
3answers
9k views

Getting Value from PeoplePicker / PeopleEditor

I'm Trying to create a new formulary in a new Asp page on my sharepoint site. So i need a field that can search all users and select one. I Saw on several forums that the best controls are ...
2
votes
2answers
846 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
298 views

New DLLs with another key

Please, help me to understand one thing in Sharepoint, as I'm very new in it... I have an SP site with many related lists. There are different custom forms (NewForm, for example) that have code ...
2
votes
1answer
573 views

How to edit the flat.aspx page include other discussion board column values?

Any ideas on how to modify the flat.aspx page used for the discussion board list in order to show other data from other columns? I have added a lookup column to the discussion board pointing to the ...
2
votes
2answers
3k views

Automatically zoom-to-fit in Visio Web Access ASPX

I'm trying to set the zoom level of a Visio document which is shown through the Visio Web Service. http://mysite/_layouts/VisioWebAccess/VisioWebAccess.aspx?id=/Shared%20Documents/MyDiagram.vdw I ...
2
votes
1answer
276 views

Getting a web based InfoPath form on a custom aspx site

May I know if it is possible to put a web based infopath 2007 form on a custom ASPX file in a SharePoint 2007 Site? (The InfoPath 2007 form will appear inside a custom ASPX file.)
2
votes
2answers
344 views

*Something* is corrupting all my aspx pages

I have a feature which deploys a master page and changes the masterpage for all webs in the site collection. This works okay usually. We've had an issue two times, where all the aspx pages in the site ...
2
votes
0answers
34 views

Web Part Leaves Behind Code When Deleted

When I delete a custom Web Part from a Sharepoint page, even though the WYSIWYG editor shows nothing even when I backspace, if I look at the HTML, there's code left there by the web part, that usually ...
2
votes
0answers
133 views

How to display extra columns (created by, created date , version) for my wiki page inside the default EnterPriseWiki page layout

I am working on an EnterpriseWiki site collection, and I want to add extra fields to the default enterprisewiki.aspx page layout which are (Created By, Created date & Version fields). So I did the ...
2
votes
1answer
81 views

Sharepoint 2013 - ASP.NET/HTML Requires Sign-in to render?

I have a website where one specific block of ASP.NET/HTML code renders only when I am signed into the website. This happens across all browsers. I need the 'caption_homebanner' div to render for ...
2
votes
0answers
593 views

Custom aspx page with web part

What would be the best way to have a custom asp.net page which runs on sharepoint and displays a web part? TIA
2
votes
1answer
734 views

Pass values to default NewForm.aspx

I need to pass values from my list-view (calendar) to the default newform.aspx. As you propably know, you can click the "add" button on a day within the calendar view. Then the day get's automaticly ...
1
vote
3answers
6k views

Master Page file cannot be loaded when trying to edit aspx on a subsite

A while ago, we (myself and our web developer) customized our master page. We made a copy of v4.master called v4custom.master and edited it. This was at the site collection level. Just recently, a ...
1
vote
1answer
723 views

Sending email when user click a specified button

I'm a newbie of SharePoint 2010. I would like to send an email when a user click on a specified custom button relative to an element in a list. I would like to add into the body of the email some ...
1
vote
3answers
10k views

How to add .aspx page in sharepoint 2010 project with visual studio 2012?

I went through following links: http://www.codeproject.com/Tips/312544/How-To-Add-Custom-ASP-NET-Page-Using-Layouts-Folde ...
1
vote
1answer
798 views

SPWeb is undefined

I am a newbie in sharepoint and only for 1 month. I am using sharepoint 2007,.aspx. and doing for an email form with some validation, after user pass the validation the email send. But I'm getting the ...
1
vote
1answer
2k views

How to add an aspx page to sharepoint 2007 with visual studio 2008

Probably a question with an obvious answer, but I'm lost. How do you add a custom aspx page (with code behind) to a project in visual studio 2008 for sharepoint 2007. I've created the project using ...
1
vote
6answers
792 views

How to change “new discussion” text in Discussion Board?

I creating a feature on my SharePoint site where users can create a list item and then comment on it. After the item is created, a calendar entry is also created. The purpose is to cut down on email ...
1
vote
1answer
386 views

Use ASP page from web application in SharePoint

I'm trying to use existing aspx page in SharePoint 2010. Page it self depend on some 3rd party classes and I provided source for them and additional assemblies, and project compiles and deploys to ...
1
vote
1answer
2k views

Not getting the resource of specific variation

Actually this is a double question, 1 I'm trying to get the right variation from the following code: SPUtility.GetLocalizedString("$Resources:MyDefaultResourceFileName,MyWantedValueKey", ...
1
vote
2answers
908 views

Validation on page load treats SharePoint field controls as empty

On a particular custom list item form I am making for my WSS 3.0 web app, I am required to validate the page when it is loaded up, so that any mistakes the user makes from a previous save are noted ...
1
vote
2answers
285 views

correct or efficient way of accessing DOM object in aspx pages

I want to get the value of textbox that a user enters. Below is the code snippet of aspx page : <asp:TextBox id="txtUserName" runat="server" /> Now which is the best way to access DOM object ...
1
vote
2answers
594 views

How to uncheck “Add as a new version to existing files” inside the “Add a document” dialog

I am working on a publishing site collection using the enterprise wiki template. Currently when users want to insert an image inside the rich text editor, they will be prompted with the following:- ...
1
vote
1answer
225 views

aspx adds extra html sharepoint 2010

Is there a way to stop the .aspx page on SharePoint 2010 to keep adding the html tags? <html xmlns:mso="urn:schemas-microsoft-com:office:office" ...
1
vote
2answers
1k views

How to link aspx form to content type's new item adding?

I have created one content type and list along with module (as aspx) page in visual studio , Now when I click on new item of list then i can open the newly created form but I want something like, when ...
1
vote
1answer
1k views

Access denied How can I fix this?

I have created feature that have a module that have a element file and a default aspx inside of it. The element file looks like this: <?xml version="1.0" encoding="utf-8"?> <Elements ...
1
vote
1answer
2k views

Format List look-up column as text-only in data-view web part

I have a list that contains a lookup column. Next, I created an empty .aspx page and added a dataview web part. Next, I linked the dataview web part to the previously mentioned list, which gave me ...
1
vote
2answers
698 views

Inserting custom webpart to an ASPX page

Scenario : The 14 hive template/layouts folder has an ASPX page that is shown to users. I want to show some more information within that page. I am able to open that ASPX page. It has ...
1
vote
1answer
45 views

Need insight on UpdatePanel / _DoPostBack with JavaScipt

I've spent the better part of three days trying to wrap my head around UpdatePanel and _DoPostBack to find a solution to my problem with my infopath browser enabled form. I have a simple script that ...
1
vote
1answer
52 views

How to add code behind file for home.aspx?

I want to add a code behind file to check the user's group. But I cannot find the code behind file for home.aspx. How can I create one?
1
vote
0answers
160 views

Why does my Sharepoint app modal dialog gets access denied error when using razor, but works fine when I use an aspx page

I am attempting to open the iframe in my sharepoint provider hosted app as a modal using a MVC razor view. When I open the app I get a 0x80070005 - JavaScript runtime error: Access is denied. in ...
1
vote
2answers
302 views

How to Get User's Friendly Display Name on SharePoint 2010

I have been searching around the web trying to find some help on this. We are working on a aspx page hosted on a Sharepoint2010 site. We have been able to successfully get the current logged in user's ...
1
vote
1answer
220 views

when multiple CheckBoxes within a repeater control is checked the .aspx page will refresh in chrome browser

I am using a repeater control in a web part. The repeater control contains a checkbox. when I select more than one checks in the repeater checkboxes the page is getting refreshed. This happens only in ...
1
vote
0answers
27 views

Change the look of site element on SharePoint

I want to change the look of "more options" button, which looks picture below I have tried to find it in CSS and masterpage files but couldnt find it. Where can i find it and change it to a word ...
1
vote
0answers
200 views

SSRS 2012 .rdl exposed in aspx page hosted as a web part in SharePoint Online 2013

From what I've read, there's no standard option for adding SSRS 2012 reports to SharePoint Online 2013. Instead, would it be possible to expose a report rdl in an aspx page hosted in SharePoint Online ...
1
vote
0answers
210 views

create and use nested master page in aspx page as module for sharepoint 2013 using visual studio 2012

I have added one aspx page by taking Module in Visual Studio. I have to do something like; I have to show messages for error and successful completion of the task i.e. Item added successfully I have ...
1
vote
0answers
949 views

How to change ControlMode of SharePoint:FormField control on postback (it changes only after the second postback)

I have a control in my ASPX file and a button to do postback: <SharePoint:FormField ID="MyID" runat="server" FieldName="Title" ControlMode="Edit"/> <asp:Button ID="MyButton" runat="server" ...
1
vote
0answers
80 views

How to access an aspx page located in a different project?

I have a SharePoint solution with an empty SharePoint project and an ASP.NET project. My ASP.NET project has an aspx page I would like to access. How can I access this page from my SharePoint project? ...