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

0
votes
1answer
189 views

Authenticate wss 3.0 site programmatically

I have an asp.net app which has a hyperlink to a wss site, both sites are in same machine and same iis. When a user clicks that link he is prompted for windows authentication by iis for accessing the ...
0
votes
1answer
6k views

How to copy a Sharepoint page?

In SPD2010 (Sharepoint Designer 2010) under "Site Pages" I created ASPX page ASPControls.aspx, added and configured AdRotator ASP.NET control. Having ollowed "Using ASP.NET Validation Controls" of ...
0
votes
1answer
3k 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 ...
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
2answers
4k views

How to create custom EditForm and DisplayForm for custom content type?

I have developed a custom ASPX SharePoint application page using Visual Studio. I would like to use that page as the EditForm and DisplayForm for the custom content type. At the moment, my page is ...
1
vote
1answer
623 views

How to integrate custom .ASPX solution in SharePoint list EditForm

I have developed a custom SharePoint solution which is consisted of one ASPX application page. Now, I would like to integrate that functionality in list item edit form. I have decided to create a ...
2
votes
2answers
1k views

Custom Web Service in vti_bin folder does not show Service description

I've used the Walkthrough: Creating a Custom ASP.NET Web Service from MSDN to create my cusom WCF Service and deploy to my Sharepoint 2010 server. http://myserver/_vti_bin/randomchatwebservice.asmx ...
1
vote
1answer
918 views

Restricting a People Picker to only select people from one Sharepoint group programatically

I've a got a People Picker on a custom list form, and I'm trying to restrict the people you can select in it. Basically, if the form is in one state (set in Page_Load), then restrict the people that ...
0
votes
2answers
772 views

How To Run .Net 4 for an Aspx Page Inside a .net 2 Web-Page-Viewer

folks! Running Sharepoint 2010 on Windows Server 2008, my iis7 reports that my sp web-application is running its application pool on .net v2.0. There is the choice for 4.0, but that breaks ...
3
votes
2answers
1k 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
4k 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 ...
1
vote
1answer
1k 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 ...
3
votes
3answers
1k 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 ...
1
vote
2answers
216 views

Installing a custom webservice

I am trying to install some (old) bespoke software which contains Sharepoint webservices. Unfortunatly I don't have the documentation for this software, if there ever was any. I have been reading up ...
0
votes
1answer
221 views

“Default Reader Site Group” people picker not retrieving SQL FBA users?

I have an issue with people picker for SQL FBA users in SSP admin site for "My Site Settings" page. I have added provider and role information SSP admin web.config file. And also I added "connection ...
0
votes
1answer
1k views

Filtering an SPDataSource with a dropdown - selected item is lost through postback?

I'm trying to filter the contents of a dropdown based on the selection in another dropdown, using this MSDN blog post and forum post. The filtered dropdown appears with the correct data the first ...
0
votes
1answer
1k views

Get current page, data pager?

I have this datapager and I want to get the current page. I checked out the properties of about everything and the MSDN documentation and I still did not find anything useful to get the current page. ...
0
votes
0answers
297 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? ...
0
votes
1answer
383 views

Regenerating a custom list form .designer.cs file

I'm writing a custom list form in VS2010, but I can't get the .designer.cs file to regenerate to properly reference the controls in the aspx file. I've tried deleting the designer file, but the ...
0
votes
2answers
2k views

Enable SharePoint 2010 Session State

I am looking to enable session state so that custom developed web parts are able to use the ASP.Net session state which is not enabled by default. Under normal circumstances, I know that session ...
3
votes
2answers
654 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 ...
2
votes
1answer
40 views

Is there a way to gracefully fail when a custom tag is missing?

I need to do some specific CSS changes to the publishing section of my SharePoint site when the logged in user is a specific account. To do this, I have created a custom control ...
2
votes
1answer
1k 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 ...
0
votes
3answers
2k views

how to create sharepoint custom login page

Im creating custom login page for sharepoint that will use Forms Based Authenitcation. I've read couple articles how to do it, but something is not clear to me. What class should my Login.aspx (and ...
0
votes
1answer
1k views

How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?

I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
0
votes
2answers
2k views

Adding row values to a specific column in a datatable?

I am tryin to retrieve the url of image attachments from a OOTB announcements list and add it to a datatable column I created named "Images". The respective image control in my web part displays the ...
0
votes
2answers
2k views

Populating a simple custom Event Web part that retrieves information from the OOTB calendar web part

I have a requirement to build a Event web part that shows the 5 most upcoming events and a see all link (that links to the OOTB calendar view). Here is a graphical representation: How exaclty do I ...
0
votes
1answer
675 views

“LinkTitle” column from event list dose not render when added to a repeater control?

I have the following code to render the event Titles (the LinkTitle Column) in a custom web part: <asp:Label ID="Title" runat="server" CssClass="titleStyle" ...
0
votes
1answer
652 views

Rendering IMAGES (attached to announcement list) in my custom web part?

Please bear with me as I am brand new to the whole sharepoint world. I want to be able to display images that have been attached to OOTB announcement list in a custom visual web part I am trying to ...
0
votes
1answer
313 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 ...
1
vote
1answer
4k views

CAML Query to filter a list item based on comparing item[“Title”] to ascx label.text control?

"<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>'Label1.Text'</Value> </Eq></Where>"; I have not run this and checked yet, simply because I ...
1
vote
1answer
2k views

How to put DateTimeControl ErrorMessage as '*' during required field validation

There is a DateTimeControl on my WebPage which i is a ReqiredField. I have set the properties of the control as follows <SharePoint:DateTimeControl runat="server" ID="txtDOB" DateOnly="True" ...
0
votes
2answers
2k views

Building ASP.NET forms in SharePoint 2010

We need to create a couple of dozen forms on SharePoint 2010 and would like to use ASP.NET and Visual Studio 2010 for this task. The forms need to have the same look-and-feel. The current forms are in ...
5
votes
5answers
4k 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
775 views

Navigate to other page (Office 365)

I want to navigate from one ASP.NET page to another one (each with a visual webpart) When I click a button on the first page (in my visual webpart of course), I should navigate to the second page. But ...
2
votes
3answers
1k views

Possible to DataBind to a SPListItem URL?

I have a ListView that I am binding to a SPList. In this list view I would like to have a link to each SPListItem. Microsoft has conveniently decided that the URL member of an SPListItem should be ...
2
votes
1answer
433 views

How to authenticate a user in SharePoint server side object model?

I am developing an Asp.Net web application that will access data in a list on a SharePoint 2010 server. Can anyone tell me how do I authenticate a user against SharePoint using the server side object ...
4
votes
2answers
3k 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 ...
2
votes
1answer
214 views

different homepage for annonymous users

I have a requirement in which home page of my site is personalisable by the end user (I have page where all the webparts are listed with Add/Remove functionality) so that each user can add Or remove a ...
0
votes
2answers
185 views

Host address url not working for SharePoint site?

I have created web application on port 80 in SharePoint with host address like http://subsite.site.com. I checked in IIS server host header was defined in the web site property. When I typed ...
2
votes
2answers
701 views

Page, Dialog and update panel issue

I have page, where user can choose where he wants to copy library element. Since copying can take longer time, I'd like to give some information that actually something is going on. It is also ...
3
votes
3answers
89 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.
0
votes
1answer
785 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 ...
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 ...
0
votes
2answers
402 views

ThmxTheme Error

I wrote a ASP.NET Handler module for sharepoint 2010 web application. it is running .But I added this code, occured error Code: string tema = "/_catalogs/theme/Classic.thmx"; ThmxTheme tm = ...
1
vote
1answer
158 views

Creating an asp.net page that calls on a SharePoint 2010 Service Application

I am trying to create a simple web page with three text boxes. I then pass the three values to a client for a SharePoint service application. However, when it calls on the SharePoint service ...
0
votes
1answer
1k views

Accordion style QuickLaunch in SharePoint 2010

I need help in entering the selectors in Sharepoint 2010 for a biz website in the left menu under the navigation: Here is my code for QuickLaunchMenu in Sharepoint for my Web part Accordion menu: ...
0
votes
1answer
565 views

Different breadcrumb navigation style on some pages

I am working on a theme for Sharepoint 2010. While working on the header area, I ran into a very annoying problem regarding the breadcrumb navigation: It looks good everywhere, except for sites that ...
0
votes
1answer
542 views

Using the Sharepoint Client Object Model with ASP.NET C# page

So why when I add the line <%@ Import Namespace="Microsoft.Sharepoint" %> does the page error with: An error occurred during the compilation of the requested file, or one of its ...
0
votes
1answer
456 views

Best way to store 900000 records when binding the telerik radgrid with custom paging [duplicate]

Possible Duplicate: Binding 800000 records in Radgrid throwing timeout error I am creating sample application in sharepoint 2010, i want to load 900000 records in telerik radgrid, so first ...