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

2
votes
1answer
45 views

InitializeControls() not found in Context

I am having problem that the InitializeControls() is not working protected override void OnInit(EventArgs e) { base.OnInit(e); InitializeControls(); }
1
vote
1answer
544 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" DateOnly=...
0
votes
0answers
82 views

System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded() in SharePoint 2010

I'm getting the exeption in the title on a page that has a long ListView. There are something like 400 rows and for each row there are somethig like 10 controls per row. I found in internet that I ...
1
vote
0answers
27 views

Use images inside SharePoint Online 2013 inside a ASP.NET applicatioin

I have SharePoint Online 2013 website up and running https://testapp.sharepoint.com/ and inside https://testapp.sharepoint.com/sites/ABC I have folder set which contain images. And I have a separate ...
1
vote
2answers
224 views

Set default values in new controls on custom form

My customer has a requirement that they be able to "edit" existing items by creating new ones with those values. I was considering making a rest call based on the ID in the query string and populating ...
0
votes
1answer
243 views

Using the variable of .aspx code in .js code

I have one variable in .aspx code and i want to use it in my .js code. How to make this work? In .aspx code.. var url = document.referrer; var res = url.split("?"); var str = res[1]; So I want ...
1
vote
1answer
117 views

Moving a sharepoint folder from one site to another site using C#

I am new to SharePoint. I have given the flow below. • I have a button in visual web part called Archive. • On Click of the button I like to move the folder inside the site(A) to another site(...
0
votes
1answer
49 views

ASP.NET application under SharePoint website

The Default Web Site on my Windows Server 2008 with IIS 7 is running MOSS 2007 (SharePoint). Since I want users to feel like they are still on the portal, I created a similarly branded ASP.NET web ...
0
votes
1answer
72 views

read,add and update sharepoint 2010 list from an asp.net application

I have a sharepoint site which is internal and I would like to build a website that is public to get some data from a list in this sharepoint 2010 instance. The asp.net site would be hosted publicly. ...
1
vote
1answer
127 views

System.FormatException when posting data in custom form: SharePoint 2013

I'm not sure if this question is more SharePoint or more ASP.NET related. In one of my lists I'm using .aspx page to create custom form for edit and create. List schema.xml: <...
0
votes
0answers
25 views

Accessing asp.net application from IIS that has Sharepoint configured

I have a custom asp.net application in IIS and this machine has SharePoint 2010 configured on it as well. For some reasons I can only access the asp.net application from local machine and it couldn't ...
1
vote
3answers
3k views

How to do a mail merge from a SP List to a word doc?

Is there a simple way to do this? Basically I would have a list that contains a bunch of customer information and I would like to merge each list item to a specific word doc and insert each document ...
0
votes
0answers
112 views

Object reference not set to an instance of an object in upload.aspx file in share point 2013

When I login IE in different user and edit the page and try to upload the file from computer I get below error in share point 2013. I am very new to share point can any one please help how to fix. ...
1
vote
1answer
489 views

Dropdown menu with XML data source gives web part error

I am using SharePoint designer to build a page with a data view web part that displays the contents of a 6,000 record XML file that is structured like the example below with each "Details" element ...
0
votes
1answer
204 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: <...
0
votes
0answers
53 views

How to use asp tags in Sharepoint 2013 page layout?

In my sharepoint 2010 page layouts, I had asp tags like this <script type="text/javascript" language="javascript"> <% SPWeb web = SPContext....
0
votes
1answer
23 views

Doesn't have master script ASP.NET website on sharepoint

I really don't know how to ask about this, it's not about scripting or troubleshoot in ASP.NET but this question it's very important for me, so I need some suggestion's. I was bought a ASP.NET ...
3
votes
1answer
103 views

Set ASP DropDownList to SharePoint List Items

This one is probably really simple and I am missing something, I am creating an app dev model for SharePoint online and I currently have a ASP.NET DropDownList that I want to populate with items from ...
0
votes
1answer
49 views

Show Dialog when Input value changes

I am working on a Sharepoint application Page to Uplaod a File to a document libary. The Upload can take a bit of time so I want to display the waiting for it Dialog. I check if all requiered fields ...
0
votes
0answers
44 views

SP Client PoplePicker set Value from Listem Field

I have a Sharepoint ClientPeoplePicker and in my codebehind I want to set the user displayed in it. I get The user from a Sarepoint List Field of the Typ User and Group: SPFieldUserValue userField =...
0
votes
0answers
54 views

How to render asp image tags in masterpage/page layout?

In my .html page layout file, I have this code <!--<asp:Image runat="server" imageurl="<% $SPUrl:~sitecollection/Style Library/en-us/help.gif %>" alternatetext="More information" />--&...
0
votes
1answer
25 views

AJAX.NET error only affecting certain users

I have a couple of users who are reporting "ASP.NET AJAX client-side framework (ScriptResource.axd) failed to load" error on some of our SharePoint pages. Only affecting certain uses, majority get ...
0
votes
0answers
274 views

Calling codebehind method for javascript

i need to popluated a dropdonwlist in my Sharepoint app page. I wote a C# function for that. The Function should be called when a ModalDialog gets closed. In the callback function i change the value ...
0
votes
1answer
130 views

“ConfigurationErrorsException” when browsing one SharePoint site

I have updated the SSL that I use for Google Authentication within a SharePoint 2013 environment that we have. The SharePoint version is 2013, Enterprise, running the Feb 2015 CU. The internal AD ...
2
votes
1answer
86 views

Run Inline ASP code on a Published Master Page

I'd like to use the SPUtility.MakeBrowserCacheSafeLayoutsUrl method in my published master page (used in a publishing site) in order to force SharePoint to stop caching my JavaScript and CSS files. ...
2
votes
1answer
31 views

External Access to Sharepoint 365 Site

My organization has a ASP.Net Extranet site that uses the standard .NET SQL membership provider DB using forms authentication, and we also have a Sharepoint site on Office 365 for our internal users ...
2
votes
1answer
92 views

How to map a variable taken in query to a gridview column in asp.net?

I have written a query in SQL server 2008 R2 and it is: select *, Row_Number() Over(Order By Total_Marks DESC) as Rank from tbl_Ranking_System order by Rank In this query, I have taken variable ...
0
votes
0answers
51 views

Sharepoint RichTextField not visible

Hello I want to add a Rich Text Field to my Sharepoint Site. The Page shows with no problems but i cant see the Field. <SharePoint:RichTextField runat="server" ID="RichTextField_Ergebnis" ...
0
votes
0answers
19 views

How to separate BCS list and form in two site pages?

I am using a BCS and External Content Types in SharePoint to Update SQL Tables; however, I would like to have this two parts separated in different pages.
0
votes
2answers
1k 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 ...
0
votes
1answer
48 views

Is it possible to get items from External List using Lists Web Service

I am trying to get items from an external list, but I always get 'Microsoft.SharePoint.SoapServer.SoapServerException'. I am very new to SharePoint and have used similar approach in gettings items ...
4
votes
3answers
9k views

Getting the SharePoint Web Application URL Programatically

Is there an easy way to get just the web application URL in SharePoint, for example, SPWEbApplication has the following property spwebapplication.sites that would return URL's of all the site ...
2
votes
3answers
239 views

SharePoint DateTime conversion issue in ASP.NET

I am facing a strange issue in converting DateTime value received from SharePoint GetListItems method. Here is what the date string looks like - ows_DatePaid="2015-04-28T18:30:00Z". Now the problem ...
2
votes
2answers
850 views

How do I access data in SQL via Sharepoint 2013?

I'm not a SharePoint developer, but I have developed some small ASP/VB.net web pages. Basically, prior to using SharePoint, I have developed a basic portal that pulls data (VB.Net) and sends it to ...
1
vote
1answer
27 views

msinfo32.exe can't collect information on a sharepoint page

I am creating a new process on my Sharepoint 07 web application. I've run the same command as below and works on my OS but not on my web app. I wanted to know why and if this is even possible. Here's ...
0
votes
0answers
552 views

How to do single sign on between an asp.net application and existing sharepoint web application which is claims enabled

I want to implement single sign on between an asp.net application and an existing SharePoint web application which is claims authentication enabled. asp.net application is farm authentication ...
0
votes
1answer
349 views

A network-related or instance-specific error occurred while establishing a connection to SQL Server. when use sqlalias and try to connect sql server [closed]

i have an asp.net web application that connected to sql server 2012 from a server ( windows server 2012 R2) its a fresh installed server and installed oracle 32 bit client . its SharePoint wfe server. ...
1
vote
0answers
176 views

How a Security token service rely on asp.net application authenticated users to authenticate share point

i have a requirement to authenticate share point from an asp.net application, if an user is authenticated to asp.net and after that also he able to authenticate to share point application . in asp....
0
votes
0answers
16 views

How does SharePoint 2010 confuse Telerik in web.config [closed]

The scenario: We have a custom ASP.NET application deployed to a virtual directory on a website that is running SharePoint 2010 Server on IIS 7.5. The application primarily operates on a couple of ...
2
votes
1answer
371 views

Convert asp.net website solution to visual web part

I have a small website written in asp.net c#. It consists of 7 pages or less and a master page, connected to a database and references a class library. How to convert it to a visual web part in ...
0
votes
1answer
68 views

Show Newsfeed from Sharepoint Blog on ASP.Net Site

My company has an asp.net site (Intranet). We'd like to incorporate a simple blog that can be shown on part of the intranet home page as a news feed. The actual blog doesn't need to be located within ...
0
votes
1answer
198 views

How to display data into an asp:Repeater from two different SharePoint List programmatically

So basically, I am new in Sharepoint Development and I am having a hard time using asp:Repeater. I want to display all the data from one SharePoint List and find some of its related field in the other ...
2
votes
4answers
4k views

How to get appWebUrl and hostUrl when getQueryStringParameter fails?

I have a sharepoint app with multiple .aspx pages. On different pages I push and pull from sharepoint lists and I would like to send emails. These require me knowing hostUrl and appWebUrl. I would ...
1
vote
0answers
33 views

Calling http handler in user control

I'm trying to call httphandler in SharePoint usercontrol. I'm loading this usercontrol in a SharePoint web part. This httphandler is deployed to SharePoint layouts folder. Below is my code . this....
0
votes
1answer
61 views

Converting Asp.net application to sharepoint with telerik controls and highcharts

I Have a rather complex asp.net /SQL server + Telerik and Highcharts controls, client wants to convert it to Sharepoint, I understand we can convert the asp.net application to sharepaoint using VS2013 ...
0
votes
0answers
211 views

ASP.NET Update Panel not rendering in Sharepoint 2013

I am currently developing a webpart that has implemented an ASP update panel: HTML: <asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Enabled="true" Interval="1000" ></asp:Timer>...
3
votes
1answer
515 views

SharePoint runaway / random app pool recycling every few minutes

Having an issue on a SharePoint 2010 environment that has been happy (on the most part) for several years. Hoping that someone may have seen this issue. The only related issue was a database outage ...
0
votes
1answer
84 views

Asynchronus loading of visual web part

I am developing a visual web part that will do some some heavy operations. It is a visual web part in SharePoint 2013, on premise. I want to load my data asynch. Ajax toolkit is not compatible and ...
0
votes
2answers
194 views

Asp.net label returns empty string when using jQuery

I have created a SharePoint 2010 visual web part. In the page load event of the user control, i am setting the value of an asp.net label. <asp:Label ID ="lbMessageIndex" runat="server" Visible="...
0
votes
1answer
182 views

How can I call a server side method when browser gets closed

I have created a SharePoint 2010 visual web part. I have create a method CheckPref in usercontrol.ascx.cs. How can i call this method when the browser window is closed? If i useScriptManager ...