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

1
vote
2answers
592 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
915 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:- ...
2
votes
0answers
163 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 ...
0
votes
1answer
226 views

DataFormWebPart ViewFlag property

In the SP system I'm maintaining I have an aspx page that contains a DataFormWebPart on it. I wanted to make some wording changes in a javascript alert on the page with no real functional changes. I ...
0
votes
1answer
31 views

Add “ProjectName” on Project Settings List to another page

I have been asked to modify our project portal site to include the project name on each page at the top (we have about 25 pages in the site and we don't want the administrator to have to manually add ...
2
votes
1answer
236 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 ...
1
vote
6answers
1k 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
93 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 ...
0
votes
1answer
61 views

AspNetCompiler task in SharePoint project

I would like to know how to compile aspx files after build in a SharePoint solution to see the run-time errors, e.g. missing resource (when translating the page using resources). When I add the ...
0
votes
1answer
535 views

Displaying Field Contents in JQuery UI Tooltip

In SPD 2010 I have created an aspx page, in which I have inserted an Empty Data View. I then selected the list, and then fields which are shown on the page. I want to incorporate a "tooltip" popup ...
0
votes
1answer
90 views

Exclude aspx files from search results in SharePoint Foundation 2010

If possible, how can I exclude aspx files from search results in SharePoint Foundation 2010 (+ without Search Server Express) ?
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 ...
1
vote
1answer
314 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" ...
0
votes
0answers
831 views

Webparts removed when copying ASPX page - SharePoint Designer Troubles

When copying a SharePoint aligned aspx webpart page from one location to another, the webpart(s) are removed completely from their zones in the copied (destination) page. For example: ...
0
votes
1answer
810 views

Set BooleanField Value

I'm trying to set value for BooleanField on my custom NewForm. If I try to do it from codebehind, visually it doesn't change, but when the item will be saved this field will be empty (neither true nor ...
0
votes
1answer
225 views

Add HTML elements programmatically

I think it is a very simple question, but I'm just stuck on it. I'm developing custom page for my SharePoint 2010 portal, and I need to add a button (or other elements) to my .aspx page: <input ...
0
votes
1answer
83 views

Unable to replace the left side navigation, to show only my metadata nagivation tree

I was reading about showing the metadata navigation tree as my left side navigation, i found this link which describe how to implement a similar task ...
1
vote
0answers
237 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 ...
2
votes
2answers
437 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 ...
0
votes
1answer
43 views

Using Pop-Up New Item Input of List from main site in sub-sites

I can use the following JS code on my main site to create an image link to pull up an input page just like when you click on the "+ Add new item" at the bottom of a list: <a ...
1
vote
0answers
242 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
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 ...
2
votes
1answer
680 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 ...
1
vote
1answer
905 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 ...
2
votes
3answers
12k 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 ...
0
votes
1answer
1k views

SP Online - Code blocks are not allowed in this file

I have built a selection of ASP.net controls on my default.aspx page. I am using the following line of javascript to try and get the value of an ASP control. var imgUrl = ...
3
votes
4answers
1k 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 ...
0
votes
1answer
1k views

Programmaticly follow a site, but recieving a error

I have a method in my aspx.cs file that should make sure that current user follow the current site. When I check ULS I receive this: ...
0
votes
1answer
29 views

Adding manual pieces of code to SP site

I want to add a chunk of source code to a specific web page using SPDesigner 2007. The code consists of 2 parts. Some needs to go in what would normally be the <head> section of a web site. The ...
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 ...
0
votes
1answer
53 views

How to provision .aspx pages to site definition

Is it possible to add custom .aspx pages to site definition. If yes, How we can do this ? Please provide some example if possible?
0
votes
1answer
662 views

Transferring a site's page is showing a blank page

Here is my scenario, I thought this should be straightforward: Go to my site's Pages list under View All Site Content. Download a copy of the .aspx web part page that I want to transfer to another ...
0
votes
2answers
1k 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 ...
0
votes
3answers
721 views

Dropdownlist in a aspx file that lets users choose between a few pagelayout when creating a page

User can create a pages, when a user click on the "create page" link a pop up dialog shows up which is a aspx file, inside this dialog I have created a dropdownlist: <div ...
0
votes
2answers
599 views

Password required? The remote server returned an error: (401) Unauthorized

I'm trying reference a sharepoint list item in my aspx page using the Sharepoint Client Object Model. I have been granted 'Full Control' privileges on this list. The problem is that I can only ...
0
votes
1answer
185 views

How would custom aspx pages with code behind be used for workflow forms

We have a situation where we developed reusable workflows, content types and InfoPath 2010 forms for a client as a proof of concept but now the client has decided they can't go ahead with the ECALs ...
0
votes
1answer
75 views

Implementing a Custom ASPX Page That Uses a Custom Database

I know how to create custom ASPX pages and a deployment package, but I need to implement a custom ASPX page in SharePoint 2010 which uses its own custom database. Please advise me how to do this.
2
votes
0answers
1k 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" ...
0
votes
3answers
1k views

How do I apply a CSS ID selector to a webpart page?

I am using a CEWP-linked HTML file to generate a menu of links to other web-part pages. I want to use this same file in a CEWP on each of the linked pages. As an indicator of the user's location, I ...
3
votes
4answers
6k 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 ...
0
votes
1answer
1k views

Adding Javascript function on custom aspx page

I have created custom ASPX page in Visual studio for my SharePoint application. I want to use JavaScript function on this custom page like this: function ChangeLanguage(value) { var today = new ...
1
vote
0answers
85 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? ...
0
votes
2answers
1k views

custom aspx page with default.master page CSS issue

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ItemDetails.aspx.cs" Inherits="namespacename" Debug="true" MasterPageFile="~/_layouts/default.master" %> <%@ Assembly ...
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 ...
2
votes
0answers
702 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
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 ...
2
votes
1answer
804 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 ...
0
votes
2answers
499 views

Unlink page from master

Is there a way to "unlink" a page from the master page? Specifically, what I want to do is have a completely blank page display a SharePoint ListViewWebPart. Alternatively, if I start by creating a ...
2
votes
2answers
266 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 ...
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 ...