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
0
votes
1answer
1k 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 ...
1
vote
2answers
1k 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 ...
2
votes
1answer
1k 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 ...
0
votes
0answers
17 views

Custom JS script on Wopiframe2.aspx

In order to customize system notifications, I'm using JavaScript loaded through an AdditionalPageHead for replacing the HTML in the maintenance message displayed on top of every .aspx page in the farm....
7
votes
2answers
8k views
0
votes
1answer
1k 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
0answers
20 views

How to download rendered content of *.aspx SitePage using SharePoint Online Rest API

We are trying to download rendered content of SitePages ( relativeURL: /SitePages/fileName.aspx) But we are getting non rendered content; We need help to achieve the same; Also, When we try to ...
0
votes
2answers
669 views

Alternatives for SharePoint:InputFormTextBox in Google Chrome and Firefox

We use SharePoint:InputFormTextBox in our SP 2010 application. Now the requirement is to make it work in Google Chrome and Firefox also. But from what I read the SharePoint:InputFormTextBox control is ...
0
votes
1answer
12 views

Set new page as home page, keep current url

I created a page under SitePages that includes CEWPs and such. My current home page url is http://{mysite}/default.aspx. I want to make my new site the home page without changing the default url. I've ...
1
vote
1answer
33 views

A way to 'save' modern pages or print them to PDF

Object: Communication site with standard modern pages with combinations of text and images. I would like to find a way to 'save' the content or print it. I have tried to print and the result is not ...
0
votes
1answer
51 views

How to add the aspx.cs code to get the selected value of radio button as per the aspx page as shown in the screenshot below?

This is the code for retrieving the Question and options dynamically from SharePoint list. How to get the value of selected radio buttons and store it to a variable using the C# or SP code. Can anyone ...
0
votes
2answers
97 views

How can I download .aspx page(s) from SharePoint Online?

I want to archive some old pages from SharePoint Online but unfortunately there is no simple "Download-button" available like the one for the files. Is there a way to download and/or transfer without ...
0
votes
4answers
629 views

How can I download .aspx pages from SharePoint Online?

I want to archive some old pages from SharePoint Online but unfortunately there is no simple "Download-button" available like the one for the files. Is there a way to download and/or transfer without ...
0
votes
1answer
54 views

How to write a code in Visual Studio 2013 to create a Quiz application using SharePoint 2013

We need to create a quiz application in SharePoint 2013. We have already created a quiz by write questions in aspx page and writing its code in aspx.cs page and the quiz is running fine. But the ...
0
votes
0answers
19 views

How to upload static aspx / html to SharePoint using Visual Studio

I have a tool that generates a set of html pages, they are just referenced within an index page (also a static html page). My main goal is to upload this group of pages to an on-premises SharePoint ...
0
votes
0answers
35 views

Navigating to subsite adds Pages/Page.aspx to the URL

I have various sitecollections and they are behaving different. One of them, when I navigate to one of its subsites, it shows the Welcome.aspx but the URL remains unchanged, only with https://mytenant....
1
vote
2answers
503 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. (...
0
votes
0answers
8 views

HTML/ASPX/JS files and access control

I'm using sharepoint to host a website with differing levels of access for users. I have a basic landing page in a folder to which everyone has access. This then loads html elements from different sub ...
0
votes
0answers
18 views

Where Sharepoint saves custom forms

Does anybody know where Sharepoint is saving the custom forms created by designer? In the Lists dir there is the aspx part, which does not contain the html part, but also I could not find any ...
0
votes
1answer
25 views

Using Customizable list in a Website created in sharepoint online

Current Scenario : I have uploaded few aspx files into my sharepoint online and it is pretty much static and is being used as department Website Using a list from sharepoint to store and process data ...
1
vote
2answers
1k 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
118 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 (...
0
votes
1answer
45 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 &...
1
vote
0answers
18 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
1answer
81 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\...
1
vote
0answers
54 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
2k 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
83 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
115 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. Unfortunately ...
0
votes
1answer
103 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
88 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
5k 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
41 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
153 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
86 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
183 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
453 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
6k 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 ...
0
votes
1answer
28 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
515 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
942 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
214 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
118 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
166 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
6k 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
633 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
45 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
321 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
172 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 ?