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

1
vote
4answers
644 views

Does this leak? SharePoint SPSite and SPList code

Would this code cause an SPList object to leak? It's enclosed in a Using statement but that's in a sub routine. String site = "http://server/sites/site"; foreach (string s in ...
1
vote
0answers
309 views

Exception loading SharePoint dependent assembly using reflection [closed]

I've created a custom Central Admin .aspx page that inherits from the OperationsPage base class, which is defined in Microsoft.SharePoint.ApplicationPages.Administration.dll. Naturally, I added a ...
0
votes
1answer
527 views

Response.BinaryWrite Div [closed]

Is there a way to write PDF to a div from DataBase i.e. Retrieve a Byte[] from Database and Reponse.BinaryWrite to a div. We do similar thing for Images using src = "anotherpage.aspx" where image is ...
1
vote
2answers
140 views

Copy Sharepoint Sites/Doc Libraries For Development Purposes

Sorry if I'm getting the terminology wrong, I'm very new to sharepoint. Basically, a site I'm working on uses sharepoint for some versioning stuff in the background. I would like to be able to take ...
0
votes
3answers
744 views

SharePoint (ASP.NET) Application works fine until morning, only an IISRESET fixes problem

A colleague has developed a SharePoint web-part application (which was developed in VS2005), and deployed on MOSS 2007. We use an .ASCX file for deployment. This application works fine all day, but ...
1
vote
2answers
409 views

Session object is null in page_load on 64 bit

I am having a strange problem. I am porting an asp.net web application to sharepoint (as a web part) and I've converted most of it to a webpart that loads an .ascx user control. However I have some ...
3
votes
4answers
658 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 ...
1
vote
3answers
517 views

Guidance for using ASP.net MVC as part of Sharepoint 2007

I am interested in using ASP.Net Mvc 2.0 as the basis for a website but it will need to hook into SharePoint 2007. Am I just dreaming that it is possible or should I just stick with webforms? Has ...
2
votes
3answers
2k 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 ...
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 ...
2
votes
0answers
248 views

Custom XML Document Content Type with ASP.NET Forms in MOSS 2007/WSS 3.0 [closed]

I'd like to create a custom content type in SharePoint 2007 (WSS 3.0) that inherits from the existing XML Document content type (i.e. an InfoPath form) but I want to use custom ASP.NET forms to edit ...
4
votes
2answers
1k 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 ...
0
votes
2answers
475 views

Custom Application Page does not recognize tagPrefix defined in custom web.config

I have a custom application page integrated in Centeral Administration. My application pages are placed in a subfolder in Template\Admin folder. I placed my own web.config in my subfolder and added ...
8
votes
3answers
2k 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 ...
2
votes
3answers
516 views

Any problems using Smartparts to host ASP.NET user controls directly in Sharepoint?

I am thinking about using SmartParts (http://www.codeplex.com/smartpart) to directly Host ASP.NET user controls in sharepoint. This needs however that I manually copy all user controls to all WFE ...
2
votes
3answers
2k views

Problem with SPGridView and SPGridViewRow.FindControl

In a SharePoint webpart I am displaying an SPGridView. The SPGridView control is inside an Ajax updatepanel and is bound to a datatable in the code. The columns for the gridview are created mostly as ...
1
vote
1answer
327 views

I want to use ASPCOMPAT=true as an attribute of @Page directive

I get the following error on SharePoint pages: "aspcompat not alowed on this page" when I try to use it. Please help.
1
vote
1answer
1k views

How to restart IIS on all servers of farm from SharePoint Application Page

SharePoint provides an option in Create New WebApplication page that says Restart IIS Automatically. This restarts IIS on all servers of the farm. What can I do to trigger this programmatically from ...
1
vote
2answers
724 views

STS site definition different “default.aspx” - (default document in site collection) (Solved)

I have an STS-based site collection and I have changed the "default.aspx" default document reference as follows: My onet.xml: <Module Name="Default" Url="" Path=""> <File ...
0
votes
1answer
705 views

clscompliance parser error when adding web part in webpartzone zonetemplate

I am adding a web part directly into a zonetemplate in a page layout. When i insert a custom web part that has a web part property of type uint, i get an YSOD server error: Parser Error ...
2
votes
2answers
1k views

How do I allow users to change their password (ASP.NET membership)

Title says it all. I have an ASP.Net membership database (extranet) site set up, but users have no way to change thier passwords.
5
votes
9answers
3k 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 ...

1 2 3 4 5