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

0
votes
0answers
38 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
163 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
91 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
52 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
104 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
82 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
88 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
56 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 ...
1
vote
2answers
287 views

Optional Parameters in C# at Sharepoint

How Could I set optional parameters when programing in sharepoint. Now I'm while debuging getting error: Feature 'optional parameter' cannot be used because it is not part of the 3.0 C# language ...
0
votes
3answers
163 views

Collapsible asp.net control for SharePoint2010

I have a custom Instantiation form with a lot of CheckBoxes in SP2010. Now I've to put the CheckBoxes into different categories which should be collapsible, like you can see in the picture below. Is ...
0
votes
0answers
93 views

SharePoint 2013 Javascript-PopUp does not open on ImageButton, but on normal Link (with Project Download to test)

i have a SharePoint Webpart with an GridView. In this GridView there is an ImageButton and it should open a PopUp to edit data. I did this with RowCommandEvent in the CodeBehind File. This is the aspx ...
1
vote
1answer
246 views

Upload Image to Sharepoint Photo Library from asp.net mvc

I have a Provider Hosted App, one of it's functionality is to upload the images into sharepoint picture library. I am able to store the picture into some folder, using the below code. public ...
1
vote
1answer
77 views

How can I create a custom task form in Sharepoint 2010?

Is there an easy way to create a custom task form with asp.net/Visual Studio for Sharepoint 2010? I worked with WSS3 before, where you can easily add the form URL to the workflow.xml file but in ...
3
votes
3answers
682 views

Profiling tools for Sharepoint 2010 web part .NET code

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like. The normal profiling ...
1
vote
0answers
23 views

How can I print all the PublishingWebControls:RichHtmlField content inside my EnterpriseWiki.aspx as a pdf file

I am working on an enterprise wiki site collection , and using the SharePoint designer I have manually added a link named “Print to PDF” as follow:- But I am trying to implement the link ...
3
votes
2answers
195 views

ASP.Net Single Sign On (SSO) from SP 2013

Ok, here's my situation: I've got an ASP.NET web forms application that is installed and running on my SP 2013 IIS site. SP is setup to use Windows auth. I know that this is very unusual and not ...
2
votes
3answers
3k views

The remote server returned an error: (401) Unauthorized sharepoint

Here is my scenario:- I have my Sharepoint server hosted on Domain A and I have my machine on Domain B. There is not any trust between Domain A and Domain B. I am trying to access the Sharepoint ...
4
votes
4answers
478 views

Visual Studio 2012 Breakpoints do not hit

I have developed a simple visual webpart for SharePoint 2013 in Visual Studio 2012. The .apsx page only has one label. Then I say deploy and attach to process w3wp and refresh the webpage where I have ...
0
votes
1answer
76 views

How to add workflow tasks to a currently running workflow?

I would like to know how I can add a new workflow task to a currently running workflow. Essentially, my scenario is this: created a custom application page approval form user can add new approvers ...
0
votes
3answers
3k views

Could not load file or assembly 'Microsoft.Sharepoint.Sandbox' or one of its dependencies

I created an ASP.net webapplication and i have used assemblies Microsoft.SharePoint; and Microsoft.Office.Server.UserProfiles in it.. i get a run time error "Could not load file or assembly ...
0
votes
0answers
86 views

ItemTemplate error with WebPartPages:WikiContentWebpart

I am attempting to create a page that provides a consolidated view of several lists. This page shows up as a Wiki Page in the Site Pages library in SharePoint Designer (if that matters). I have a list ...
7
votes
2answers
721 views

What is the correct way to block all HTTP Headers (ASP.Net and SharePoint) from a particular web application extension?

I have been involved in two projects recently which have required the removal of all HTTP Headers which can identify the site as either an ASP.Net site or as a SharePoint site. This is normally as a ...
0
votes
0answers
14 views

How to link an aspx page in SPD 2013 to sql server database

I need to connect an aspx page in sharepoint designer 2013 to sql server database using code. How do I achieve this?
0
votes
1answer
369 views

Automatic path exclusion does not seem to be working

I have a SharePoint 2013 environment running on Windows Server 2012 with two web applications, each on a separate web site. As far I as know, it's current with updates. The server shares the sites ...
2
votes
1answer
784 views

Using the razor engine in SharePoint 2013 Visual Web Part

I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0 I'm ...
3
votes
3answers
4k views

WCF service in SP2010

I want to use WCF service in SharePoint 2010 but have problem. First, in mapped Sp2010 folder(ISAPI) I created newfolder/myfile.svc and in that file I put a reference to my DLL: <%@ServiceHost ...
0
votes
0answers
14 views

How to compile ASP from SP Designer 2013

I am previewing an aspx page in SP Designer 2013. It's not loading any of my content and not generating the HTML I'm looking for because the ASP is not being compiled. How can I run this code through ...
0
votes
2answers
127 views

Call Javascript functions from Server

I want to develop a simple web part using VS 2012 and add this code for button click: SPListItem Item = SPContext.Current.Web.Lists["Tasks"].Items.Add(); Item["Title"] = TextBox1.Text; Item["Due ...
2
votes
1answer
221 views

SharePoint running really slow

We have a production environment that hosts 3 SharePoint Web Applications. We have 2 WFEs and 1 DB server. These are dedicated servers which we are hosted by a hosting provider. For almost 2 years ...
0
votes
0answers
56 views

How to create list from excel sheet located inside document library?

I need to create and calender control/list in share point from an excel file, there are many tutorials available for this on net, but unfortunately this excel file needs to be updated timely and hence ...
1
vote
0answers
293 views

SP DataTimeControl validation issue (error message does not disappear after choosing correct date)

I write simple WebPart with few asp.net controls. I have problem with validation control and SharePoint date time control. The markup: <SharePoint:DateTimeControl ID="dtc" runat="server" ...
0
votes
1answer
631 views

ASP.NET MVC applicationt - using SharePoint 2013 as a document repository

We are developing an asp.net mvc application with a lot of custom data but want to use sharepoint 2013 for document repository. What is the best way to move ahead? Is Sharepoint 2013 foundation ...
10
votes
9answers
5k views

ASP.Net WebPart or SharePoint WebPart

This is an almost religious question; what are your preferred base classes for building WebParts in SharePoint? Are you using the ASP.NET WebPart (System.Web.dll) or the SharePoint WebPart ...
1
vote
2answers
1k views

How to pass values from SP UI Modal Dialog back to the server side code upon button click event

I have a click event on a button that opens a sp ui modal dialog page. and returns a specific value from a text area on that page. I was able to open the page in the modal dialog and able to return ...
0
votes
0answers
104 views

Request for the permission of type 'System.Data.OracleClient.OraclePermission failed

I am facing a permission issue. I am deploying my asp.net application to SharePoint 2010 environment as a WSP solution package. Our application uses Oracle client to contact our Oracle database and ...
1
vote
3answers
503 views

Noteboard webpart issue in sharepoint 2013

Recently we have migrated from SP2010 to SP2013. In our portal, i am seeing a issue with noteboard webpart, that is, wherever the noteboard webpart is placed the site layout got messed up. After ...
1
vote
2answers
2k views

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed

Our Sharepoint portal has been active for some years now but I'm just now getting bug reports about some controls not working. So far all problem reports are from subsidiaries - some here in Germany, ...
0
votes
0answers
147 views

Retrieve Selected file name from ASP.Net File Upload in sharepoint application

I have a sharepoint web part, written in c# which contains a file upload control: <asp:FileUpload ID="FU_ChangeRequestAttachment" runat="server" Width="80%" /> When the user selects the file ...
1
vote
3answers
529 views

Error occurred in deployment step 'Recycle IIS Application Pool': Microsoft .NET Framework 3.5 SP1

I recently installed Sharepoint 2010 Foundation on my windows 7 machine, this itself took a while but appears to be ok, ie create sites, libs etc etc. I'm now trying to create a simple webpart which ...
0
votes
2answers
23 views

Modify web.config in Sharepoint based application

Can i modify programmatically the web.config file of a Sharepoint 2010 site in my custom application? In devopment enviroment i add my custom config to web.config. Threre is a way to do this from ...
0
votes
0answers
163 views

Modified People Editor field not reflecting changes in Code Behind

As per my client's requirements I have created a completely custom list EditForm. Everything is working fine except for one thing. If I modify the manager field which is of type ...
-1
votes
1answer
401 views

How to fix ANONYMOUS LOGON error in Web part SQL Data Connection [closed]

I have the following SqlConnection String: ("Data Source=DataBaseServerName;Initial Catalog="Database Name";Integrated Security=SSPI;Connection Timeout=30"); The database server connects using ...
0
votes
0answers
181 views

SharePoint 2010 Approval workflow Failed on Start with SYSTEM.IO.IOEXCEPTION File System limitation Error

We have an Approval workflow, set up a content type, that everytime it runs, it throws a failed on start (retrying) error. When we look into the ULS logs for this event we get the following Stack ...
0
votes
1answer
465 views

SP Online - Code blocks are not allowed in this file

I have built a selection of ASP.net controls on my default.aspx page. I am using the following line of javascript to try and get the value of an ASP control. var imgUrl = ...
0
votes
0answers
116 views

consuming WCF web service from client side in SharePoint 2010 Visual Web Part Sandbox Solution

I have a visual web part Sandbox solution. I need to attach an external WCF web service in order to submit data to database using the custom form I have created. Is there a way I can attach web ...
1
vote
1answer
307 views

Site Column as lookupfield creates false URL-Strings

I have a created a custom site column, which is a lookup field, on my rootsite. However, I use this colum now on a subsite in another list. The idea is, to have a central list with lets say Divisions, ...
1
vote
1answer
188 views

Single Sign on Sharepoint and ASP.net

I have 1.) Sharepoint 2010 web applications with Default windows authentication. 2.) ASP.Net Application with custom authentication against Same AD. Now I have requirement to implement SSO among ...
0
votes
1answer
96 views

Auto-suggest text box from a gridview column

I need an auto-suggest text-box in SharePoint 2010 visual web part which should suggest the values from a column in a grid view. Please let me know if you have any inputs regrading the same.
0
votes
2answers
867 views

How to design asp.net business app and sharepoint to support Single Sign On?

HI In our company we have to rewrite most application and also implement a portal. Our approch is to use Sharepoint Server 2010 and asp.net 4.0 for our business applications. Our main concern is to ...