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

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....
10
votes
6answers
548 views

Is SharePoint right technology for our project?

We are currently building a new public (extranet) client document portal. This should be system very similar to box.com where we can exchange documents with our clients. We will also allow the client ...
9
votes
1answer
2k 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 ...
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 ...
8
votes
2answers
3k 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 ...
7
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 ...
7
votes
2answers
342 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:...
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....
7
votes
0answers
339 views

ASP.NET Identity (2.0) with Sharepoint [closed]

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?
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 ...
5
votes
2answers
989 views

Custom Delete Page Button

I'm trying to create a custom delete page button for my users on a publishing site that resides on the actual page. At first I thought it would be as simple as just copying the code behind the 'Delete ...
5
votes
2answers
702 views

How to specify file name using web services?

I have the following code which creates an item in the library I want: string newPageXml = String.Format(@"<Batch OnError='Continue'> <Method ID='1' Cmd='New'> ...
5
votes
1answer
439 views

How to programmingly create a “Link to a Document” in an ASP.net web application?

I have a asp.net web application which requires to upload files to a SharePoint document library. I got that working. Now, I need to know how to code using C# in my web application to create a "Link ...
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 ...
4
votes
3answers
8k views

SharePoint designer is showing “Server error: this file may not be moved, deleted, renamed or otherwise edited”

I want to edit the seatle.master master page for my enterprise wiki site collection. So I did the following:- I copy the seatle.html inside the SP designer. Paste it. It automatically creates two ...
4
votes
3answers
7k views

Trying to update a SPItem from an asp.net page and get the error “The security validation for this page is invalid”

I am trying to update an SPItem from inside a asp.net page but I am getting the error The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try ...
4
votes
2answers
2k views

SharePoint 2010 FBA: Redirect on Sign Out

I'm using the SharePoint 2010 FBA Pack http://sharepoint2010fba.codeplex.com/. Basically, I want to redirect to the homepage once a user Sign's out. I'm unable to find this. Could someone please help ...
4
votes
4answers
2k 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 ...
4
votes
2answers
1k views

Server-Side Rendering in SharePoint 2013 Content Search Web Part Without XSLT?

Background: I am new to SharePoint and I recently attended the SharePoint 2012 conference. It seems the primary way to render content in a custom way is on the client-side via JavaScript in the ...
4
votes
1answer
997 views

How to alter SP2013 workflow task from an ASP task form?

I have created SPD workflow with a custom ASP form. My form opens when clicking on a task link and I can show information about the task. Now I want to alter the task after pressing a button, but can'...
4
votes
1answer
359 views

Sharepoint 2007 to 2010 conversion and authentication

I'm consulting on a project that needs help passing authenticated user to other .Net applications on the same domain from Sharepoint to standard .Net & classic asp sites. Currently in SP 2007, ...
4
votes
2answers
4k views

How to use InputFormTextBox in a custom web part ?

I'm currently trying to integrate a rich text editor into my web part. I've found that I can integrate an InputFormTextBox in my aspx page : <SharePoint:InputFormTextBox ID="...
4
votes
2answers
2k views

Using Claims Based Authentication to integrate with an ASP.Net application

I have been Googling a problem that I have with trying to integrate the web application that I am working on with SharePoint 2010. The web application is a wiki style tool that allows users to log ...
4
votes
1answer
650 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 ...
3
votes
1answer
76 views

Which is recommended form control to use in SharePoint?

When trying to develop Web Part or Application page or modifying existing SharePoint application pages like (user.aspx, create.aspx, etc..) From below list which control is recommended to use <...
3
votes
2answers
783 views

Building New Product: ASP.NET/MVC vs SharePoint 2010

Hi I met an investor who wants a new product to sells to other companies. We agreed to make it SaaS, but we're arguing over three options: SaaS product made by ASP.NET Saas product Made up of huge ...
3
votes
3answers
88 views

get Dropdown selected value Sharepoint 2013

I have a choice column in my sharepoint list called Njësia, I have created a dropdown in my solution and I want to retrieve selected value from dropdown list. I have a label called Label1 and I want ...
3
votes
3answers
2k views

How to prevent Denial of Service (DoS) attacks in sharepoint

Today i have facing a problem of the Denial of Service (DoS) attacks on my public facing anonymous web site. My server return the error message as "Server is too busy, Try again later". We have ...
3
votes
2answers
2k views

Logging into SharePoint through C# programatically

I am trying to login programatically to a SharePoint app and get the HTML code of specific page within that website. Is there a way how I can do that programatically? I am having problems with the ...
3
votes
3answers
10k views

SharePoint parent page refresh on close of Modal Dialog, IE issue

I have a Webpage in which two webparts are installed. This is a system wherin user can make holiday request and manager can approve or reject. In 1st webpart The holiday requested by a user is shown ...
3
votes
1answer
112 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 ...
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
2answers
813 views

SharePoint webpart and application page

I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work this is the code that ...
3
votes
3answers
98 views

clone sharepoint enviroments?

We are under process of clone on QA environments to new environments. machines and urls will changes. How we can configure these changes in central admin level in new environment? Please advice me.
3
votes
3answers
11k views

Opening the sharepoint modal dialog from asp.net code behind? Sharepoint 2010

Is it possible to open the sharepoint 2010 javascript modal dialog from asp.net code behind? I have tried.. System.Web.HttpContext.Current.Response.Write("<script type=\"text/javascript\"&...
3
votes
1answer
540 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 ...
3
votes
2answers
841 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 ...
3
votes
1answer
1k 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 ...
3
votes
4answers
987 views

SharePoint as data store for a MVC application front end

We currently are running moss 2007 for an enterprise internet facing site. The site's main functionality is surfaced using FAST search with MOSS 2007 used for the cms aspects. We find that the ...
3
votes
3answers
2k views

ASP.NET User Control in SharePoint WebPart

I want to use the Visual Studio designer to make controls for my WebPart... I've been pointed to two approaches that seem ok. First, SmartParts... which I'll look into later. Second was to create an ...
3
votes
1answer
3k views

Deploying asp.net web form into SharePoint 2013

I have developed an asp.net web form in Visual Studio 2012 with the code behind in vb.net. I need to deploy this form into SharePoint 2013, in a perfect world I would like to have this form ...
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 ...
3
votes
1answer
2k views

Using the razor engine in SharePoint 2013 Visual Web Part

I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0 I'm ...
3
votes
3answers
1k views

Profiling tools for Sharepoint 2010 web part .NET code

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like. The normal profiling ...
3
votes
2answers
1k views

Sharepoint 2010 MdalDialog title [duplicate]

Possible Duplicate: Sharepoint 2010 ModalDialog title Hi, I am creating a popup window in sharepoint using this code in javascript. function openAutoResizableDialog(title, url, CallResult) { ...
3
votes
3answers
5k views

WCF service in SP2010

I want to use WCF service in SharePoint 2010 but have problem. First, in mapped Sp2010 folder(ISAPI) I created newfolder/myfile.svc and in that file I put a reference to my DLL: <%@ServiceHost ...
3
votes
0answers
1k 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. ...
3
votes
1answer
1k 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
3answers
273 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 ...