Tagged Questions

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
16 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
42 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
950 views

Saving Page with WebPart error Invalid postback or callback argument

I'm using SharePoint 2010 Foundation with Visual Studio 2010 Ultimate. I developed a Web Part with extensive use of JavaScript and Ajax call. I deploy application by Visual Studio correctly, enable ...
0
votes
1answer
280 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
756 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
30 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
39 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
154 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
57 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
133 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
132 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 ...
1
vote
2answers
72 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
2answers
106 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 ...
0
votes
3answers
232 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
126 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
344 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
100 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
26 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
269 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
669 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
106 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
15 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?
8
votes
2answers
1k 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
139 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
373 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
61 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
350 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
853 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
657 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
126 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
2k 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
167 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
620 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
476 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 ...
-1
votes
1answer
508 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
585 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 = ...
1
vote
1answer
214 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
108 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
55 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
2answers
1k 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
184 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
442 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
157 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
116 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
177 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
428 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 ...