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.

Filter by
Sorted by
Tagged with
1
vote
2answers
786 views

How to convert .html page to .aspx masterpage without using Design Manager?

I want to convert a .html page to an .aspx masterpage. I tried to use the conventional method of Design Manager, but realized that I don't have the Design Manager button. I went to check my "site ...
1
vote
2answers
59 views

“Data View” component which is added inside the Display.aspx form will not be shown in modern interfaces

I want to build something similar to having Master/Details lists inside sharepoint online. so i follow an approach mentioned on this YouTube video, which mainly do these steps:- created 2 lists (...
2
votes
1answer
895 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 ...
1
vote
2answers
662 views

How do I allow the Documents library in an Office 365 Group site allow ASPX pages to be viewed?

If I upload an ASPX file to the documents library in a regular SharePoint site, it renders properly when a user clicks on the file. If I do the same for an ASPX file uploaded to the documents library ...
0
votes
1answer
43 views

Javascript code inside my aspx page layout were smarter than i thought, and worked well on different regional settings and date format out of the box

I am working on an enterprise wiki site collection inside SP on-premises 2013. and inside the page layout i added this javascript, which get 2 date fields values from the current page (expirydate &...
0
votes
0answers
6 views

Where inside my page layout i need to register Page.ClientScript.RegisterOnSubmitStatement?

I were searching for an approach to add a validation on a Date field inside my enterprisewiki.aspx page layout, the validation to check if the Date >= Today. so finally i find this appraoch http://...
0
votes
0answers
4 views

ASPX page renames linked files when those files are changed

I had an aspx page in SharePoint sitepages folder. In that page I was linking to a CSS file in Site Assets. I renamed that file and the ASPX page updated the link automatically for me. That's cool, ...
0
votes
1answer
966 views

Custom form not showing input fields

I have created custom newform aspx page binded to newform fromschema as <Form Type="NewForm" Url="Import.aspx" Path="Import.aspx" WebPartZoneID="Main" Template="Import.aspx"/> Added fiels on ...
0
votes
1answer
937 views

Sharepoint 2013 - Create custom page with code behind

I have many event receivers and, on error, I want to redirect to a custom page that will manage those errors. I know that I can create a custom page per Event Receiver with the creation of Mapped ...
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?
0
votes
1answer
61 views

SharePoint Link Newly Inserted Login.aspx Page to Project

I deployed my .wsp file in my server. And as my login.aspx is a separate file from my .wsp file, I copy and pasted the file in filepath <D:\InetPub\wss\VirtualDirectories\uat.site1.com.sg80\_forms\...
0
votes
0answers
58 views

How to call Javascript Function in Custom Login.aspx page

I've created a custom login page for FBA which has this hyperlink for windows login: /_windows/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F&Source=%2F . When we try ...
1
vote
0answers
23 views

Custom Action in Sharepoint Online Homepage (Modern Experience)

I want to add a Custom Action on the Homepage of my Modern Sharepoint Online Site, the site that I'm talking about is a subsite. I know how to deploy the button on a List or Document type by ...
2
votes
1answer
461 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 ...
0
votes
1answer
43 views

How i can get the current URL inside my list Display form

I edited my display form for a cusotm list using sharepoint designer, and i added the following link, which reference the create form inside another list:- <a href='/sites/****/Lists/Details/...
0
votes
1answer
100 views

Master Page Converted From an HTML Page Doesn't Have an .aspx File, Instead Has a .master File

I have created a SharePoint Master page by converting an HTML File. The conversion was successful. After the conversion there should be 1 pair of files with .html & .aspx extensions. ...
0
votes
1answer
50 views

How to pull information from Sharepoint and display on a seperate website built with ASP.net and HTML

I have been tasked on creating an intranet website for my company. Currently we are using Office 365 SharePoint but my manager wants me to create a custom website which would be built on top of ...
0
votes
1answer
61 views

Field customizer: Modify values before saving?

Is it possible to modify values before saving them to the list with SPFX field customizers? This would be very useful.
0
votes
1answer
2k views

Download ASPX file from SharePoint library on SP 2016

This is related to Link to "Download a Copy" from a Document Library I use /_layouts/download.aspx?SourceUrl=/sites/sitename/library/folder/fileName.aspx to download files in my application....
0
votes
2answers
40 views

Two users, two different .aspx pages loaded - can't figure out why

I have an .aspx page from the /SitePages library that loads different versions for each user. The rendered code and size of the .aspx pages are different from what I can see in the Chrome Dev Tools. I ...
0
votes
1answer
90 views

SPO: How to security trim html elements?

This is my first attempt at security trimming in SPO. I have the following requirement. In a content editor webpart there`s some html code that presents links. One of them, I'd like to be security ...
0
votes
1answer
77 views

Can I add an HTML 5 element to an .aspx page?

I'm grappling with the scenario of how I can add the HTML 5 element "autofocus" to a searchbox on the /searchresults.aspx of my SPO enterprise search center. Basically, I would like the mouse cursor ...
0
votes
1answer
134 views

Which column stores ASPX page body?

I understand that a body of ASPX page published on site is stored in a dedicated column. What is exact name of this column? Some authors mention "PublishingPageContent", others "WikiField". Does it ...
0
votes
1answer
293 views

How to add custom web part into SharePoint Edityourprofile.aspx page?

I need to add a custom webpart in SharePoint edityourprofile.aspx, I tried by adding the webpart using designer it working for OOTB webparts. But I am unable to add the custom webparts to that page.It'...
1
vote
2answers
5k views

Display List/Web Part on Another Site with SP2013

Apparently it was possible to export a web part and import it on a different site with SP2010. This does not work anymore for SP2013. I also tried to edit the *.aspx directly, but it always throws me ...
7
votes
2answers
6k views

How to create custom error page in sharepoint 2013

I want to create the custom error page for site.
0
votes
1answer
24 views

Using the latest office 365 global nav in a Sharepoint app

I've written a SharePoint app with the following header code which comes with the Visual Studio template for a new Sharepoint app: <%@ Page language="C#" MasterPageFile="~masterurl/default.master"...
0
votes
1answer
370 views

SP 2013 Custom form and embedding attach file dialog in a modal(No Sharepoint Designer)

I have a custom form where users have an option to upload attachments to a list item. This works without issue, however, I would prefer if I could use ASP in the HTML to embed the SP attach file ...
0
votes
1answer
627 views

Save changes made in a custom edit.aspx form, then set and update list item

I have two lists that I am creating custom edit forms for (connected via task actions in a SPD 2013 workflow) and am having trouble getting some functions to work. The overall function I'm trying to ...
1
vote
0answers
153 views

File upload request through JMeter proxy recording and load test fails [closed]

I have issues recording a file upload request using JMeter Proxy. The file could be selected with the browse option and on pressing the SAVE or SUBMIT button the page refreshes and goes to the initial ...
2
votes
1answer
76 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, ...
1
vote
2answers
106 views

include aspx file

I want to include one aspx file into another: I am creating pages with menu and I want to use menu.aspx in few aspx pages. I found that there is a function <!--#include virtual="somefilename"-->...
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
489 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
0answers
39 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. <...
0
votes
0answers
222 views

Include SP.JS in Custom ASPX Page

I've created a new ASPX page in the root of an O365 site collection (not in Site Pages or Pages, just in the very root folder via the All Files view in SharePoint Designer), and struggling to work out ...
3
votes
1answer
136 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 ?
1
vote
0answers
182 views

The SPUtility method MakeReadOnly() will show empty field instead of disabling a Person or Group field, when i am assigning it to a Group

I have a field named Assigned To inside my Create and Edit list forms. And i am using SPUtility library link to disable and enable certain fields. now the Assigned To field can be assigned to a Person ...
1
vote
1answer
334 views

Need permissions uploading .aspx page to my own sharepoint site

When I try uploading a .aspx to the "pages" library on my own sharepoint site, I get this message: Sorry, you don't have access to this page Awaiting approval. We'll let you know about any updates. (...
4
votes
1answer
554 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-...
0
votes
1answer
60 views

Is it a reliable and valid appraoch to write custom JavaScript against my built-in Create.aspx and Edit.aspx list forms markup

I am working on a new list inside my team site collection. Now the list have the following main fields:- Customer Name. which is a managed metadata column. PM Status column. drop-down list. Approver. ...
0
votes
1answer
209 views

Sharepoint Online add-in redirect after closing preview through Allitems.aspx

I have written a sharepoint add-in that is more userfriendly to manage documents in a library. To make it easy for me im using Allitems.aspx together with an id to preview document. https://doamin....
1
vote
0answers
37 views

Missing field name comment in creating form on sharepoint designer

Seems like i don't see a comment when i tried to create a copy of my NewForm.aspx in SharePoint Designer. How would i fix this one? This image below is the source code of NewForm.aspx This one is ...
1
vote
1answer
534 views

Applying css stylesheet to a specific site/page in Sharepoint Online

I have made a custom search portal for a sharepoint library. As instructed in a different topic here I have selected the stylesheet in the Settings of this site. But it seems this also applies to all ...
0
votes
1answer
328 views

Problems syncing document library containing aspx pages

I have a document library in Sharepoint Online with mostly pdfs and links to webpages (aspx pages created within Sharepoint via the New 'Link to Document' button). For the users who have library ...
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 ...
1
vote
1answer
52 views

Best place to add custom javaScripts inside my Enterprise wiki page layout

I want to add a javascript to my Enterprise wiki page layout. the javascript will fire when users change the options for some site columns, which i have added to my enterprisewiki.aspx page layout to ...
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" ...
1
vote
1answer
1k views

How to custom attachment upload control

I'm working on a Sharepoint 2013 aspx form that submits the data to a list and would like to add an attachment upload control because users will not have access to the top ribbon. Below code is what ...
4
votes
1answer
116 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 ...