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
279 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
3answers
95 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 ...
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
223 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 ...
4
votes
4answers
540 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
0answers
92 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 ...
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?
7
votes
2answers
826 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 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
135 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
263 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
317 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
692 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 ...
1
vote
1answer
616 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
113 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
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
152 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
527 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 ...
2
votes
1answer
427 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
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
165 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 ...
0
votes
0answers
189 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 ...
-1
votes
1answer
431 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
1answer
491 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
117 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
196 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
102 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
1answer
48 views

Create a Link to a Custom ASP.NET Site in SharePoint 2010

I created a custom ASP.NET site and published it to our SharePoint server. All I want is to have a link available in our SharePoint 2010 intranet site to this ASP.NET site. What is the best way to ...
1
vote
1answer
1k views

How to solve "Type 'System.Web.UI.UpdatePanel' is not defined?

I'm using an update panel on a form to stop the page jumping and flickering when drop down lists etc are selected, I have enclosed the table which holds this inside of an update panel and a content ...
1
vote
1answer
979 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 ...
0
votes
3answers
2k views

Force people picker to allow only one user/group

Is it possible to prevent a user from inputting multiple values (users/groups) in the people picker (SharePoint:PeopleEditor)? Thanks
0
votes
1answer
163 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 ...
0
votes
1answer
380 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 ...
1
vote
2answers
152 views

How to Tile Asp repeator control horizontally

I am using asp.net repeator control to get pictures from picture library in sp2010. I am able to display it vertically in one row. I now want to tile pictures as follows: How do i do that. any help ...
2
votes
1answer
113 views

How I can start with ASP.NET and Sharepoint 2010 Development? [closed]

I don't know how I can begin with the Development for Sharepoint 2010. I can create ASP.NET Webapplications and begin with ASP.NET MVC 4 Now. I search a good article for the work of ASP.NEt (MVC or ...
2
votes
1answer
165 views

SharePoint 2010: Integrating ASP.Net

I just had a question about integrating ASP.NET into SharePoint. I don't mean to continue beating the subject since there are a lot of posts/sites talking about it, however I am still unsure about the ...
1
vote
1answer
327 views

Create a Form in Sharepoint Online

I want to make a form in Sharepoint Online without using Infopath. But I am having a hard time finding other option. There are things that I am considering; List - but list columns has no Rich Text ...
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
votes
1answer
1k views

How to use SPSecurityTrimmedControl to check if current user has edit rights to current page?

I am making a visual webpart in SP2010, and I want to use this below to only show content if the current user has edit rights to the current page: <SharePoint:SPSecurityTrimmedControl ...
0
votes
0answers
93 views

Using Sharepoint LoginName as parameter in datasource

This question was on StackOverflow, but I thought this would be a better place for it. I am using asp:SqlDataSource to pull data and display this in a repeater control. What I would like to do is ...
1
vote
0answers
76 views

SPgridView filtering Menu issues for Numeric column

I have built a SPgridview with Filtering, Sorting and Paging. In the grid , i have one numeric type column and other are string columns. There is a issue while filtering the numeric type column, the ...
0
votes
0answers
301 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
1answer
79 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 ...
1
vote
0answers
342 views

CreateChildControls() in Visual Web Part in SharePoint 2010 called twice

(x-post from http://stackoverflow.com/q/17065543/1943) I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
1
vote
1answer
584 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
193 views

Can I use Microsoft SharePoint 2013 to be my ASP.NET application portal?

I'm not an expert in SharePoint but what I know that SharePoint 2013 Foundation Edition is free, and I'm developing ASP.NET applcation which will have a portal. I'm wondering Can I user SharePoint ...
0
votes
1answer
455 views

SharePoint 2010, ASP.NET MVC integration

As I previously posted here I have to host an ASP.NET MVC 2 application on a SharePoint 2010 server. The application has to be hosted on the server, not referenced from a SP site. So I've been ...
0
votes
3answers
382 views

Items return null value from query in sharepoint?

I'm using this code to get items from the folder but it return null value in the SPListItemCollection. What's the wrong in my code? siteurl = SPContext.Current.Site.Url; SPWeb web = ...
0
votes
0answers
301 views

ASP.NET MVC - Get current user logged in from sharepoint

I have an MVC web app that is sitting on a server running SharePoint Foundation and users access it via a link in the SharePoint portal. I require the website to log in automatically for the current ...