Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

62 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
3k 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. ...
2
votes
0answers
42 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
946 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
390 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
127 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
1
vote
0answers
16 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://...
1
vote
0answers
34 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 ...
1
vote
2answers
851 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 ...
1
vote
0answers
201 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
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
0answers
66 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, ...
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/...
1
vote
0answers
37 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
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
0answers
544 views

Is it possible to edit list views or add xslt without SharePoint Designer?

Is it possible to edit list views or add xslt without SharePoint Designer? SP Designer is blocked, but I have visual studio. I noticed I can see the "advanced edit" portions of the AllItems page, but ...
1
vote
1answer
454 views

Unable to publish the page in SharePoint 2013

I have created a blank web part page and a custom web part. I have added that web part into the page. After all the changes when i tried to check in and publish the page, the page again goes in edit ...
1
vote
0answers
293 views

Binding DVDropdownList to Text field

I'm trying to save a selection from a DVDropDownList to a text field but when selecting an option and saving the new item, the textfield remains empty. <SharePoint:DVDropDownList runat="server" ...
1
vote
0answers
516 views

Why does my Sharepoint app modal dialog gets access denied error when using razor, but works fine when I use an aspx page

I am attempting to open the iframe in my sharepoint provider hosted app as a modal using a MVC razor view. When I open the app I get a 0x80070005 - JavaScript runtime error: Access is denied. in sp.ui....
1
vote
1answer
539 views

when multiple CheckBoxes within a repeater control is checked the .aspx page will refresh in chrome browser

I am using a repeater control in a web part. The repeater control contains a checkbox. when I select more than one checks in the repeater checkboxes the page is getting refreshed. This happens only in ...
1
vote
0answers
32 views

Change the look of site element on SharePoint

I want to change the look of "more options" button, which looks picture below I have tried to find it in CSS and masterpage files but couldnt find it. Where can i find it and change it to a word or ...
1
vote
0answers
2k 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: /FolderA/...
1
vote
0answers
321 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 ...
1
vote
0answers
291 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
0answers
90 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? ...
1
vote
0answers
439 views

Sharepoint 2010 - item field updating not working on a document library

I have this code here from a webpart that creates a treeview from a document library. For each item in the list it will create two child nodes called "Up" and "Down". When you click up, it should ...
0
votes
0answers
14 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
30 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....
0
votes
0answers
5 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
24 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 ...
0
votes
1answer
44 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
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
68 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
104 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 ...
0
votes
1answer
71 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
431 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
0answers
264 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 ...
0
votes
1answer
237 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
333 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 ...
0
votes
2answers
374 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/...
0
votes
0answers
50 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 ...
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 ...
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 ...
0
votes
1answer
569 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
122 views

'Site Permissions' is broken

Site Settings ---> Site Permissions leads to a Sorry, something went wrong error page throughout my site collection. Could this be an error with user.aspx in _layouts?
0
votes
1answer
54 views

NullReferenceException SPListItem

Sub lookup() Dim sptSite As SPSite = New SPSite("https://internalsite/sites/trial") Dim sptWeb As SPWeb = sptSite.OpenWeb() Dim sptList As SPList = sptWeb.Lists("TestList") Dim sptItems As ...
0
votes
0answers
41 views

List View Threshold error

I have a unique problem. I'm getting LVT error when running a script that displays every users' files that they have checked out across all libraries in a web scope in production. Here are a few ...