ASP.NET is an application framework developed by Microsoft. It is built on top of the .NET Common Language Runtime (CLR). SharePoint is built from the ASP.NET framework.

learn more… | top users | synonyms

1
vote
1answer
2k views

Show list form DispForm.aspx “in window” instead of as a dialog box

Does anyone know how to get a list form to display as an aspx page by default instead of as a popup iframe? For example, when a user clicks on a list item, DispForm.aspx opens as part of the same page ...
1
vote
1answer
34 views

Why is the ASP.NET Web part recommended over the Sharepoint-based web part for a website?

In the official documentation for Sharepoint 2010, it says that the ASP.NET web parts (which inherits from the WebPart class in System.Web.UI.WebControls.WebParts) is recommended over the ...
0
votes
1answer
30 views

Show sharepoint data on webpage

I am missing something really basic! I have set up a Office 356 SharePoint account and uploaded/linked a simple Access table to SharePoint site collection. I created the website in Dreamweaver - ...
0
votes
0answers
108 views

Update panel AsyncPostBack not update pannel

I'm create simple visual webpart, but update panel not update updatepanel1 if is using async callback. Response from button click: http://pastebin.com/zWmPL4XB, if use PostBackTriger it work fine. ...
1
vote
2answers
63 views

Storing data entered into a custom web part

When building a visual web part that uses an ASP form for an interface, what is the generally-accepted "best" way to store the data once the user has filled out the form? The only way I can think of ...
0
votes
3answers
257 views

Changing visibility of text/controls in a visual web part

I need to show/hide a section of text and controls in a visual web part when a button is clicked. I've seen references to doing this via JS but can't connect the dots for how to integrate that into ...
0
votes
0answers
35 views

Response and Request ASP.NET classes in a visual web part

I'm building a visual web part for a 2013 environment that is meant mostly to host a complex form that users will be filling out (see my related question here). Not being an expert in ASP, I've been ...
1
vote
2answers
45 views

InfoPath versus ASP form

Environment: SP2013 Enterprise, InfoPath 2010 My question is hopefully pretty straight-forward, but I haven't found any good documentation on it so I'm looking for advice from personal experience if ...
0
votes
0answers
349 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
0
votes
0answers
78 views

AjaxControlToolkit FileUpload

I'm using the newest AjaxControlToolkit in an SharePoint 2013 environment. When uploading a file (using the FileUpload-control), I get this: x.jpg (error). In the web.config I added: <handlers> ...
0
votes
2answers
222 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
4
votes
1answer
94 views

How to programmingly create a “Link to a Document” in an ASP.net web application?

I have a asp.net web application which requires to upload files to a SharePoint document library. I got that working. Now, I need to know how to code using C# in my web application to create a "Link ...
2
votes
1answer
64 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 ...
0
votes
1answer
155 views

Implement multi select lookup using listbox control in aspx page

How can I implement the multi look up select list items functionality in SharePoint using asp.net C#? Please help me with some code, I am using two list boxes and have added a add remove button on ...
0
votes
1answer
69 views

Custom SharePoint 2007 web part is extremely slow to load

I have a simple web part that I've added to my SharePoint 2007 site that containes a few labels, textboxes, a gridview, and a detailsview. This web part connects to SQL 2005 to retrieve data after ...
0
votes
0answers
45 views

Possible to integrate Recaptcha with Microsoft Forefront Identity Manager

I've been tasked with adding a recaptcha field to our front-facing self service password reset page that is provided via FIM 2010 R2. I am not too familiar with ASP. I have added the recaptcha ...
0
votes
1answer
43 views

AspNetCompiler task in SharePoint project

I would like to know how to compile aspx files after build in a SharePoint solution to see the run-time errors, e.g. missing resource (when translating the page using resources). When I add the ...
0
votes
1answer
78 views

Cleanest way to do multiple response.redirects without page refresh?

I am trying to develop a simple web part in VS that will pull data from a text box, construct a URL with the data and open a new tab using OnClientClick="aspnetForm.target ='_blank';" and using this ...
1
vote
1answer
6k views

How to run a popup window from code behind in web Part writen in C#

I must run a popup warning when somebody exceeds some value. I tried a SharePoint Modal Popup using JavaScript, but I don't know how to run something from code behind with JavaScript and a SharePoint ...
0
votes
0answers
160 views

How to show gridview with dynamic parameter in asp.net's ajaxtabcontainer programmatically after clicking tab?

Every user has identification id, I need to query database to obtain this id, then select data in gridview by this id as a filter. I create this in ajaxtabcontainer, at first page loading everything ...
0
votes
4answers
643 views

Access SQL Server data in SharePoint Online list

I have an existing Asp.Net solution which stores data into SQL Server 2008 database. I would like to reference that SQL server data in SharePoint Online list. What would be the best way to do it? ...
1
vote
0answers
73 views

is it normal to create helpdesk webpart system using asp.net in sharepoint portal?

I need to create Help-desk System in SharePoint Portal. I can create it in asp.net, and then convert it to webpart. But this way restricts using of such things as workflow and other sharepoint tools. ...
1
vote
2answers
473 views

Remove Sharepoint RadioButtonChoiceField Focus on application page

I have an application page with a bunch of asp textbox controls and then a sharepoint RadioButtonChoiceField control. When the page loads it will always set focus to the RadioButtonChoiceField is ...
0
votes
2answers
36 views

Update file from a .net website to SharePoint 2010

I need to update files from .asp web site and the files need to store in sharepoint2010 documsnt lib. i need to use sharepoint for bulk document storage.
2
votes
2answers
71 views

asp.net project and sharepoint project

I have a problem with asp.net project, I can't acces to my sharepoint site, I have a error message when I do : using (SPSite site = new SPSite("http://<SharePoint_Site_URL>")) So I'm asking ...
-1
votes
1answer
38 views

Master Page Format Change

I am taking the plunge to change a master page format. I am wanting for the text to appear in the middle of the page with a frame around the text. Question. Does anyone know on how this can be done? ...
1
vote
2answers
602 views

How to get FBA users' profile with ASP.NET

I'm getting Windows users' profiles, in my webpart, doing the following: UserProfileManager pm = new UserProfileManager(SPServiceContext.Current); SPUser spuser = web.AllUsers.GetByID(user.Id); ...
0
votes
1answer
67 views

What user executes the code when running SPSecurity.RunWithElevatedPriveleges?

I have done research on this and still can't find a strong answer. Some soures say that when using SPSecurity.RunWithElevatedPriveleges that the code is executed as a site collection admin. Some ...
4
votes
2answers
2k views

SharePoint 2010 FBA: Redirect on Sign Out

I'm using the SharePoint 2010 FBA Pack http://sharepoint2010fba.codeplex.com/. Basically, I want to redirect to the homepage once a user Sign's out. I'm unable to find this. Could someone please help ...
2
votes
0answers
85 views

ASP.NET Identity (2.0) with Sharepoint

I have been searching around for information about using the new ASP.NET Identity 2.0 with SharePoint, but not much luck... Anyone succeeded setting it up?
0
votes
1answer
110 views

Refused to execute script Reserved.ReportViewerControl.axd in SharePoint 2013

We are migrating our ASP.NET WebForms and MVC 3.5 Application to our new SharePoint 2013. Lots of our applications use Reporting Services which use ReportViewer Control 9.0 but when we deployed the ...
0
votes
1answer
212 views

Can't get DEFAULT Microsoft Template for Association form to work! Reproducible

The default association form template is giving an null reference exception. This is happening with a blank project and on two PCs with Workflow Foundation installed. I've taken a screenshot of every ...
1
vote
1answer
685 views

Move documents from one folder to another in diferent library in different site collection from Client Object Model

I want find and move all documents from one folder to other in different site collection document library. Both the folders are at the sub folder level 3 from the actual list. Please let me know how ...
0
votes
0answers
47 views

Adding Sharepoint functionality to our product (Asp.net)

We are trying to develop new functionality to add a plugin to our website (asp.net). Our product is used by different companies and the plugin would allow the administrators to set their own ...
0
votes
3answers
286 views

Office 365 list items created by asp.net form submit button

I have a query regarding SharePoint Office 365. I have a form of any technology like php, asp.net, python Three fields are there Name, Lastname and display name and submit button. I have office ...
1
vote
0answers
2k views

The remote server returned an error: (401) Unauthorized. Using CSOM in ASP.NET MVC 4

I'm trying to pull data through SharePoint 2013 BDC Models that I have imported from my ASP.NET application which works fine when I run either locally on my machince or locally on the server. ...
0
votes
0answers
17 views

OnPostRequestHandlerExecute event is not getting fired in SharePoint 2010 application's Global.asax file

We want to capture current user's employee id, name, url of SharePoint 2010 site. We are inserting captured data in database. To get this we have written code in below event of Global.asax file - ...
0
votes
1answer
51 views

How to implement editor zone at a custom webpart in visual studio 2012 with vb.net

I have webparts which display the content. Using Webpart Editor zone I need to select display style whether it is Grid or List or Rolling (from Dropdownlist). How can i add custom property in Webpart ...
0
votes
1answer
321 views

How to Attach file to Outlook Application

I am trying to attach a file to outlook Application using java script.Its working fine in IE 10 and above but not in any other browsers. Here is my requirement. For Document Library a. When a user ...
0
votes
0answers
789 views

UpdatePanel not working inside Parent GridView ItemTemplate

There is a SharePoint 2013 Visual Web Part in our project. It has 4 nested GridViews together. On click of one Image button 3 grids will get expand. Population is also coded on click of that image ...
0
votes
1answer
33 views

Add Excel to sharepoint service programatically

I have a Excel with Pivot charts on my client (Not on sharepoint Server). Is there any way to upload it using sharepoint services by C#? thanks
0
votes
0answers
42 views

“NavigateUrlField” attribute in Sharepoint TreeView Not working?

Am doing a sample Project for my company in Sharpoint designer . While trying to create a treeview navigation for organization chart , am Getting the below error : Could not bind to the 'url' ...
0
votes
2answers
167 views

Sharepoint 2007 SPDatasource duplicates

I've associated an asp:dropdown with an SPDataSource - What I'm trying to do, is simply display all available categories for a certain custom list - The issue is that the SPDataSource only shows ...
0
votes
2answers
230 views

How to read and output the XML within an SPFile?

I have this line of code that retrieves an XML file and saves it as an SPFile object SPFile XMLFile = SPContext.Current.Web.GetFile("C:\\Users\\maleem\\Documents\\XMLTest.xml"); I want to get the ...
0
votes
0answers
61 views

SharePoint 2010 Web Part that needs to call a dll and .js files

I am trying to create a SharePoint 2010 web part. The web part I am trying to create will contain, among other things, a custom asp.net server control as a dll. The dll refers to a number of files ...
0
votes
0answers
141 views

User Profile Service site host giving ASP.Net error

I'm trying to get my sites working on my demo environment but I keep getting this error I don't know what to do from here. The error message here is pretty useless. I did the whole sp_farm ...
0
votes
1answer
172 views

Pass data from custom asp.net form to workflow (SharePoint 2010)

I've got a state-machine workflow with custom instantiation and task asp.net forms. My custom task form is pretty easy, it just shows the instantiation data and let the user approve or reject it. If ...
0
votes
2answers
115 views

I am trying to display data that is typed in textbox ,but it gets displayed when the page is loading but disappears after page loads why?

I am making an app using SharePoint 2013 in which user inputs some text in TextBox, and that text I want to display in button click but that's not happening completely the text gets displayed when the ...
1
vote
2answers
94 views

How to display charts dynamically other than by using MSCharts?

I would like to display a pie chart in a custom SharePoint application page. One option to do this is by using MSCharts and <asp:Chart> tag. However, getting this to work requires modification ...
0
votes
3answers
1k views

issue with forms authentication - Unable to redirect from login page to home page after authentication

In Sharepoint 2010, We created a web application with classic authentication and started developing it. Later, we want to implement forms authentication to our project, so I created a new sharepoint ...