Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
857 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
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
1answer
126 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 ...
1
vote
1answer
47 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 (...
1
vote
1answer
408 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
1answer
526 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 ...
0
votes
1answer
59 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
1answer
38 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
327 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
194 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
324 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
1answer
909 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
39 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 ...
0
votes
1answer
920 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
497 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
94 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
52 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
1answer
246 views

How to display Sharepoint online office 365 site in aspx page

I have created an ASP.net web application where I am trying to display a SharePoint Office 365 online site through iframe. I am getting an error XFrame cannot be set to same origin How to display ...
0
votes
1answer
457 views

Sharepoint Enterprise wiki page layout for mobile devices view

I am working on SharePoint 2013 Enterprise wiki site, and users are complaining that accessing the wiki pages from their mobile devices is not very user friendly. now i have enabled a site feature ...
0
votes
1answer
335 views

ECB Pointing to Custom ASPX Page - Page_Load Firing Twice

I have a custom edit control (ECB) block which points to a custom ASPX page that has some code-behind. Developed as part of a larger Visual Studio solution. For some reason the code behind for the ...
0
votes
1answer
206 views

Getting variable from asp/aspx to workflow

I need to move a variable saved on a SP list item(LIST A) to a workflow that starts on the creation of a new item in a different list(LIST B). This new item on LIST B will be created upon pressing an ....
0
votes
1answer
454 views

How To Reference Custom Class In SharePoint ASPX Page Project?

I have added a custom class to a Visual Studio solution. The solution has a number of features that are deployed and also has a aspx page that is deployed to the _layouts folder. In the Visual ...
4
votes
0answers
2k 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
38 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
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
0answers
381 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
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
19 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
0answers
154 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
36 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
61 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
34 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
504 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
0answers
277 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
507 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
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
318 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
438 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
32 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
0answers
20 views

Bulk update custom list forms

I have several sites in my site collection, each of which has a few lists with identical columns, all with custom forms. I am using content types to better manage column definitions. When changes ...
0
votes
0answers
199 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
0answers
47 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
0answers
40 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 ...
0
votes
0answers
214 views

How to get SP.ClientContext to work on basic aspx.page?

I am trying to get JSOM to work on a basic aspx page created in Sharepoint Designer. But I have been unable to get SP.ClientContext to work, it is undefined and I get the error: "Sys....
0
votes
0answers
529 views

How do I set the value of the WebUrl query parameter of an SPDataSource?

I've put an SharePoint:SPDataSource element on an aspx page, which is going to be linked to an asp:DropDownList, but I can't find a value for the query WebUrl parameter that works. What am I missing? ...