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
390 views

SharePoint 2013 and WebApi

I would like to use ASP.NET WebApi inside a SharePoint 2013 farm solution. I know it is not supported out-of-the-box, but I found SignalR can be run by means of a simple HttpModule, so I was ...
0
votes
1answer
23 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
19 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' ...
1
vote
2answers
408 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
157 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
31 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
33 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
23 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
17 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
28 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
32 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 ...
1
vote
2answers
495 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
3answers
945 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
180 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 ...
1
vote
1answer
520 views

ASP.Net Label control's Text property not updating text under button click event

I have developed a small application in SharePoint. I am using custom application page and load .ascx Control over that page under Page_Load() method. In .ascx Control, I have created a small form ...
0
votes
3answers
57 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
26 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
47 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
37 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
580 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
1answer
637 views

How to read image file from a URL and save the image in image library in SharePoint 2010

I have a form, and that form has a field for a Picture and a Thumbnail which are currently Single Text fields. What I would like to do is when people input a URL on those fields, I would like to get ...
1
vote
0answers
15 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
48 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 ...
1
vote
3answers
2k 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
266 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 ...
2
votes
1answer
237 views

SharePoint 2013 ASP.NET Web Api

I am attempting to deploy an ASP.NET web api web service to SharePoint. I attempted to deploy the necessary folders to the ISAPI folder, but have had no luck. Has anyone successfully deployed a Web ...
0
votes
1answer
59 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
34 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 ...
6
votes
2answers
199 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
13 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
217 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
579 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
13 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
0answers
25 views

Migration from sharepoint 2007 to sharepoint 2010 (special case)

The website in asp.net and the deployment of site in sharepoint 2007 by using the aspx pages not a publish or package. Now the problem is i already restore content database from 2007 to 2010. After ...
0
votes
2answers
62 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
60 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
32 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
139 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
149 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 ...
9
votes
9answers
4k 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
794 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
1answer
301 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
70 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
379 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
95 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
485 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
20 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 ...