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
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 &...
1
vote
0answers
8 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
5 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
63 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
66 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
26 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
557 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
46 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/...
1
vote
2answers
68 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
54 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
65 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
101 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 ...
1
vote
2answers
720 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
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
139 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
305 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
824 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 ...
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
380 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
645 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
172 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
79 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
118 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
1answer
505 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
40 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
228 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
147 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
191 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
348 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
578 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
217 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....
0
votes
1answer
102 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. ...
1
vote
1answer
562 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 ...
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 ...
0
votes
1answer
331 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 ...
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 ...
4
votes
1answer
117 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 ...
1
vote
0answers
63 views

Minimal Office365 ASPX with Suitebar only, no MasterPage

I am no MasterPage wizard so after some trial and error wonder if MP Wizards have some better insights Objective is to create a ASPX with only to the Office365 SuiteBar Below gets me the SuiteBar, ...
0
votes
2answers
351 views

Put custom HTML string OR custom .aspx page url in SP modal dialog

I want to put either custom HTML string OR custom .aspx page url in SP modal dialog function OpenCustomForm() { var options = SP.UI.$create_DialogOptions(); options.url = "/sites/...
1
vote
0answers
19 views

Running ASPX code to get an index of all files in a Document Library

I once was (in a previous century) an oldskool Classic ASP developer, never touched .Net Can we execute code in an ASPX file in a Document Library like we did with ASP? I would like to built an UL/...
0
votes
0answers
49 views

How to Freeze the Header on an ASPX page

I have an aspx file that pulls data from 3 different lists and compiles them. The script outputs data into a table with a header. There is a lot of information so when a user scrolls down, they loose ...
1
vote
0answers
35 views

.aspx page deployed to library through module does not pull masterpage

I am trying to deploy a "plain" .aspx page (no code-behind) to a library in a SharePoint site using a module (web scoped feature). I don't even really need an .aspx page, all I really need is an HTML ...
1
vote
0answers
54 views

asp:Button causing Server Error [closed]

I have a button which has probably been implemented wrong, since it causes an error 500. The page works fine without the button and I'm not sure where the problem lies. The .aspx: <asp:Content ID=...
1
vote
0answers
35 views

How to modify custom aspx page when main solution package (wsp) is missing

I have a SharePoint site. "http://partner.acompany.com/_layouts/account/dhy/createsite.aspx". I have to modify the custom page i.e. createsite.aspx page. The main problem is that there is no ...
1
vote
2answers
138 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,
0
votes
1answer
995 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
41 views

Equivalent to jsp include Search

With Java jsps, there is a very powerful and useful action tag for content reuse called include - <%include file="filename" %> which includes the file at runtime. This action allow for the passing ...