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

5
votes
1answer
884 views

Share authentication token between SharePoint 2013 and ASP.Net MVC Web API service

In SharePoint 2010 and earlier, it seems it was possible to share the authentication token with other ASP.Net applications using forms authentication and the ASPXAuth cookie. I have a SharePoint 2013 ...
3
votes
1answer
386 views

Uploading '.xlsx' or '.docx' to SharePoint 2007 from ASP.NET app causing file 'corruption'

I have an ASP.NET application wrapped in SharePoint 2007 website. Within this application I allow users to create requests and they can also upload supporting files for the request. When a user ...
2
votes
1answer
58 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 ...
2
votes
1answer
456 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 ...
1
vote
1answer
16 views

Content controls have to be top-level controls in a content page or a nested master page that references a master page

I build an MVC application and I run it by linking a content editor webpart to the index.html file. That usually works fine but I'd like to build it into an aspx page and link to that page directly. ...
1
vote
1answer
23 views

CAS Policies for GAC Deployment

I have a .Net web application(3.5 Framework) which i converted it to WSP package and deployed the front-end aspx pages to _Layout of SharePoint webapplication and the third party Dll's(Like ...
1
vote
1answer
207 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 ...
1
vote
1answer
619 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 ...
2
votes
0answers
18 views

Chart control data points not visible - Visual WebPart

I have created a Chart control based visual webpart. I have used custom labels for both x and y axis. The problem when i am trying to plot xy values, it is not visible in the chart. Code ...
2
votes
0answers
77 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?
1
vote
0answers
50 views

Update Panel doesn't work inside web part zone

I have a visual web part that works if you insert it directly into the page layout, but not when you add it to a web part zone. The page: <asp:UpdatePanel ID="UPnlArticle" runat="server"> ...
1
vote
0answers
60 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
0answers
1k 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. ...
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 ...
1
vote
0answers
347 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" ...
1
vote
0answers
81 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 ...
1
vote
0answers
367 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
0answers
15 views

controls to make extendable zone

I'm making a setting page in my sharepoint site and there is a lot of setting zone in this page , so I'm thinking what's the asp or SharePoint control that make each zone appears just by clicking on ...
1
vote
0answers
78 views

DropDownList change the values in the same times

I have got two DropDownLists, and I want to change if I change in first Drop down list Values then I want to change in secound DropdownList. My first DropDownList has got a code: SPUserCollection ...
1
vote
0answers
33 views

Problem with finding out loged user

I try to write a procedure, which find out is the user logged or not not loged in the service. I write a code. But it sometimes giving me a true or false if not a person shown. Sometimes it gives me ...
1
vote
0answers
374 views

Custom aspx page with web part

What would be the best way to have a custom asp.net page which runs on sharepoint and displays a web part? TIA
1
vote
0answers
159 views

Visual Studio intellisense over WebDav (DAVWWW) does not work. Failed to Start Monitoring

The page lives in a library inside SharePoint 2007 and has inline c#.. no master page or sharepoint references. I can open, edit and save the page via the URL. But getting warnings and no ...
1
vote
0answers
263 views

Dynamic content based on Eval() returning null

I have an SPGridView with a list as its source. I currently have it sorting first by published date, or if that is null, by modified date. The problem is that on the list view I need to put Posted on ...
0
votes
0answers
6 views

ASP.NET form and SPD Workflow

Is it possible to pass data to a sharepoint designer workflow from a ASP.NET form?
0
votes
0answers
15 views

Creating Dashboards

I'm just new to the concept of dashboards. And have been tasked with building one for monitoring hardware / software applications around the business. I was just reading about this. And came across ...
0
votes
0answers
61 views

get data form database & display in gridview's textboxes

i want to populate data in gridview's textboxes which are stored in database and if no value found in database it should show blank text boxes. BUT my problem is i am binding gridview data for Area ...
0
votes
0answers
62 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. ...
0
votes
0answers
24 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 ...
0
votes
0answers
53 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
0answers
31 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
0answers
121 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
0answers
45 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
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
0answers
749 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
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
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
132 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
0answers
123 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 ...
0
votes
0answers
100 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?
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
0answers
59 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 ...
0
votes
0answers
124 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 ...
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 ...
0
votes
0answers
97 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 ...
0
votes
0answers
326 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
326 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 ...
0
votes
0answers
264 views

ASP Calendar double click event get the date of clicked day

I haw got the ASP Calendar. I want to choose range from date to date. If i choose "SelectionChanged" i could only set one date. I think meybe I could set a second date which is end of Date Rannge when ...
0
votes
0answers
324 views

How do I set the value of the WebUrl query parameter of an SPDataSource?

I've put an SharePoint:SPDataSource element on an aspx page, which is going to be linked to an asp:DropDownList, but I can't find a value for the query WebUrl parameter that works. What am I missing? ...
-1
votes
0answers
16 views

How to call the Validator Error message(aspx) fom code behind using c#

In this aspx validator im having error message.Code behind simple validation im doing like ex: if(oldpage.Exists) { from here i have to call the aspx validator and i have to display the error ...