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

6
votes
5answers
7k views

Refreshing custom developed web part

I've developed a custom web part that pulls data from a list. It will only retrieve items where a field called ShowItem is equal to 'Yes'. Once the data is loaded the end user has the ability to ...
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 ...
1
vote
1answer
8k views

An example of databinding the repeater control?

I am trying to develop a custom visual web part to display the latest 5 announcements with the images that are attached from the OOTB announcement lsit.I have a repeater control with an Item Template ...
1
vote
4answers
280 views

What is something I should to to help me to Learning SharePoint?

I have a list of items I was told I should learn below. Can you tell me if there is one that I should remove and one I can add that will help me learn sharepoint backend development. I have been ...
7
votes
5answers
10k views

Integrating ASP.NET MVC 3 and SharePoint

We are looking into developing a site that uses MVC3 as the front-end and SharePoint 2010 as the data layer. We would like to keep SharePoint as out of the box as possible and display the data in MVC3....
14
votes
1answer
4k views

Change Sharepoint language with a link?

Is there a way to get the language-switch control as static link in the pagelayout? I want my users to switch between German and English with a single click. Sorry guys, found a solution :D <...
10
votes
9answers
7k 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 (Microsoft....
8
votes
3answers
4k views

How to write to ULS Log in SharePoint 2010 from a .NET app?

The Sharepoint Trace Log Sample given at http://msdn.microsoft.com/en-us/library/aa979522.aspx & explained at http://msdn.microsoft.com/en-us/library/aa979595.aspx does not work in in Sharepoint ...
6
votes
5answers
2k views

Pros and cons of code vs. no code in SharePoint development?

Here's my situation: I work in a user area and have been tasked with creating usable SharePoint sites for different areas. Some are doc management, some are collaborative work spaces, some are task ...
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
1answer
2k views

AspMenu does not render css-class for 'selected' element

I'm using the codeplex cross-site collection navigation project as a basis. The problem should not be related to that specifically though. I'm using Microsoft.SharePoint.WebControls.AspMenu as my ...
2
votes
2answers
2k views

When to use application pages (aspx) versus web parts?

I'm struggling with this question at the moment... Basically I'm pulling a set of data out of a DB table related to our LOB application, listing it, and then want to click through from this list to ...
1
vote
1answer
3k 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
6k 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 ID="...
7
votes
2answers
281 views

What are the Type.registerNamespace advantages over standard JavaScript methods?

Now I dive deeper into the world of .Net developers I notice more and more Microsoft ways of doing things unfamilair to me as a (once LiveScript) JavaScript developer. I see PnP and other blogs using:...
3
votes
1answer
2k views

jQuery autocomplete dissapears on postback

I'm using the jQuery autocomplete and this works perfect. But when I do a postback, it looks like the page "forgets" that there is an autocomplete on the textbox. Important to know: this textbox is ...
3
votes
1answer
2k 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
398 views

SharePoint 2010 and ASP Profile Provider

We have web application with SQL ASP Membership Provider, Role manager and profile provider. This web application has both authentication methods: NTLM and forms. Everything works fine. Problem ...
1
vote
1answer
2k views

Using AjaxControlToolkit in SharePoint: Multiple instances of ScriptManagers?

I'm trying to use AjaxControlToolkit controls (specifically CalendarExtender and ComboBox), but am having problems with the ScriptManager control. I've got the ToolkitScriptManager at the top of the ...
1
vote
2answers
3k 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
1answer
1k views

sharepoint with .Net 4.0

We had an ASP.NET site that was built on .NET 2.0. It had sharepoint integration and everything was working fine until the site got migrated to .NET 4.0. I know that sharepoint is built on 3.5 ...
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
378 views

How do I retrieve the “Title (linked to edit)” column from event list to display in my custom web part.

I am creating a visual web part to display the calendar events in the form of an events list with custom css. The web part will be on the home page of my site. Here is what I have right now and it is ...
0
votes
1answer
163 views

SharePoint Web Part Gallery details of each web part

When using SPWeb.GetCatalog(SPListTemplateType.WebPartCatalog), it returns an SPList which of course contains a SPListItemCollection of the web parts in the web part gallery. When looping through the ...
0
votes
1answer
4k views

How do I update a lookup column from a dropdownlist?

I'm creating a custom web part in asp.net for SharePoint 2010 programmatically. When a user presses an Add button, the selected item from the dropdownlist is supposed to then be added to the Groups ...