Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [aspx]

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.

7
votes
2answers
6k views

How to create custom error page in sharepoint 2013

I want to create the custom error page for site.
5
votes
4answers
13k 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 ...
5
votes
3answers
4k 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
1answer
115 views

SP Online - SharePoint Hosted Add'in - type(extension) of pages

I'm beginner developer for SharePoint-Online. I want to know what is the best practice of extension of my pages in sharePoint hosted addin. a) .aspx extension b) .html extension c) .htm extension ...
4
votes
2answers
3k 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 ...
4
votes
1answer
523 views

Does SPUtility.js support adding and removing choices from a drop-down field

I am working on a sharepoint server 2013. and inside my built-in create.aspx list form i added the following javascript code:- var selectobject = document.getElementById("Approver_90afaad9-2b54-46fb-...
4
votes
2answers
2k 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 ...
4
votes
0answers
2k 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
1answer
130 views

DateTimeControl in MMMM/YYYY format

How to make a SharePoint:DateTimeControl use a MMMM/YYYY format so it let the user choose only month and year ?
3
votes
4answers
3k 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 (...
3
votes
2answers
3k 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 ...
2
votes
3answers
1k 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
328 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
1answer
299 views

Sharepoint downloads aspx file instead of rendering it

I have uploaded some ASPX files to my SharePoint document library. When I click on the file, SharePoint downloads the file instead of rendering it in browser. How can I fix this? Thank you for ...
2
votes
3answers
23k 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
3k 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
587 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
2k 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 this.Context.Response.Write("&...
2
votes
1answer
65 views

Test SharePoint Addin locally (Without deploying to server)

I am creating a SharePoint Addin but I want to be able to view the changes immediately (like with HTML). Currently, it deploys the addin to the SharePoint Website (hosted on O365) every time it runs, ...
2
votes
1answer
460 views

Open full .aspx web page in modal dialog box

I have searched everywhere to find a solution for opening an entire .aspx web page inside a modal dialog box. I do not want to open a specific web part, I would like to embed the entire page, with all ...
2
votes
1answer
117 views

CSS Select ListView by id

I started with a blank ASPX page and added two list views to it. I am using CSS to modify some of the styles on the page, and I have been relatively successful; however, I am now trying to change the "...
2
votes
1answer
1k views

Replace WebPart programmatically on .aspx Page without WebPartZone

Is there a way good way to replace a WebPart programmatically on a WikiPage and keep the old position? So far I'm able to delete a WebPart and add a new one but since it's a WikiPage where the current ...
2
votes
5answers
3k 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 ...
2
votes
1answer
2k 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" ...
2
votes
2answers
1k 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
1k 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 ...
2
votes
2answers
1k 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
3answers
5k 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
295 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
346 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
38 views

SharePoint add-in won't create subsites upon button click

I have recently created a add-in for SharePoint online that will allow me to make a subsite. My written code doesn't show any errors, but it seems like it won't execute after a button click. <...
2
votes
1answer
873 views

Using html2Canvas API to generate images of custom aspx pages

So I have an html table I'd like to convert to an image and I found a pretty neat API to do exactly this. It's called html2canvas. I have been able to use it pretty easily using HTML pages in my ...
2
votes
0answers
53 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
1answer
1k 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?
2
votes
0answers
381 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
126 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
1k 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
987 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
2answers
108 views

Give a Form a Popup window

I would like to use a SharePoint Designer to show a form (DispForm.aspx) as a popup instead of opening into a new tab. Thanks,
1
vote
1answer
163 views

SP07 Designer - Reset to the default list EditFrom.aspx

I want to reset EditForm.aspx and NewForm.aspx to default for the list, because confused. How to solve this problem ?
1
vote
3answers
8k 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
2k 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
12k 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 http://sharepointsolution2010.blogspot.in/2011/05/add-custom-aspx-page-in-...
1
vote
1answer
1k 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
12k views

Use a HTML form to create new list items

I've created a HTML form webpart with some inputs. I want to insert the data contained by the inputs into a Sharepoint List on submit. How can I do that?
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
2answers
2k views

Create an associated record in another lists automatically linked with the record I've just created in a list

I've two lists, one of persons, and one of addresses for theses persons (my purpose is that one person may have multiple adresses). I'd like, when I add a person, to be able to directly add an ...
1
vote
1answer
501 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
3k 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
1k 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 ...