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
0answers
271 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
347 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
645 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
636 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
613 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
305 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
718 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
413 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
174 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
635 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
86 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
767 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
387 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
154 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
536 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
495 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
406 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 ...
1
vote
0answers
244 views

Dynamic content based on Eval() returning null

I have an SPGridView with a list as its source. I currently have it sorting first by published date, or if that is null, by modified date. The problem is that on the list view I need to put Posted on ...
0
votes
2answers
265 views

How to detect when user goes from one site collection to another in the same web application?

I have a several site collections in the same web application and I need to handle events when user goes from one site collection to another. I need it for specific actions, like setting "lcid" cookie ...
4
votes
2answers
626 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 ...
8
votes
3answers
3k 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 ...
0
votes
2answers
511 views

Navigation, Flyouts menus

Is it possible to customize the SharePoint top navigation with fly-out menus that display sub-sites?
2
votes
3answers
847 views

Update column status based on time

I'm creating a SharePoint 2010 application called HR Learning And Development. Basically it's an application to manage every employee trainings. Much like a college environment. I have a SharePoint ...
0
votes
1answer
410 views

Showing new list element form on button click

does anyone know how to show the new list element form on button click, that I have on my custom aspx page? Like when you have a sharepoint list and you click on "add item" and a new element form ...
0
votes
3answers
3k 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 ...
2
votes
1answer
2k views

How do I get my query results to display in my web part?

I'm working on my very first web part for SharePoint 2010 in Visual Studio 2010. Please keep that in mind as you continue reading. I'm trying to build a web part that runs a simple query against a ...
1
vote
1answer
856 views

Editing content of page having custom master page in office365 sharepoint site

I have signed up for office 365, I'm trying to edit the sharepoint site in browser. I have created a simple master page and a content page and uploaded to the site. MasterPage.master <%@Master ...
0
votes
1answer
819 views

REST Services - List vs Document Library

I developed a custom ASP.NET application where I retrieve/update list and document library items using REST. It works perfectly fine locally but when I deploy it to a web server it doesn't work the ...
1
vote
2answers
312 views

Social rating from grid view

HI ALL ! i want to provide rating of items of a sharepoint 2010 list from a grid view hat is showing all the list items in a grid with branding . is there any way to add a rating column in a grid ...
0
votes
2answers
3k views

How to read from a list using Silverlight and the SharePoint 2010 Client Object Model?

I am attempting to write a simple Silverlight webpart that reads information from a list and then outputs it to a data grid. I can get all of the lists, their titles and their field titles fine but ...
0
votes
0answers
543 views

Ad-rotator Asp.Net Control on my 2010 master page does not work on child pages

I have a Sharepoint 2010 site I'm setting up where I want to have an AdRotator on every page, so I added the control to my master page in Sharepoint designer. However when I look at my site, all the ...
3
votes
3answers
9k 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 ...
0
votes
1answer
193 views

Developing ASP.Net User Control to be imported to SharePoint MOSS 2007

Apologies if this has been answered, but I could not find a similar question: I am developing a webpart for MOSS 2007. I am using WSPBuilder to built a visual webpart (ascx) and everything works ...
0
votes
1answer
312 views

How can I set up a user selected date filter for a data view web part?

I have a request to set up a user based filter on a list. I know I can set up a data view web part, but I do not know what controls to use to set up the filter. I cannot use the Date Filter Web Part ...