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
1answer
2k views

Working with args option of SP.UI.ModalDialog.commonModalDialog

I have the following situation: In my Sharepoint 2010 ASP.Net Application page app I want to allow my users to select a Supervisor for an employee who's information they (the user) is modifying. For ...
0
votes
1answer
197 views

Rendering linkbutton with image

I have an issue when i try to render the linkbutton with image and text it isn't rendered correctly. I render it from a servercontrol in method OnLoad. And I do not understand why, maybe someone knows ...
0
votes
2answers
2k views

Adding the Ajax Control Toolkit to a SharePoint project

I am unable to get the List Search Extender from the Ajax Control Toolkit to work correctly. After inserting my WebPart to the page, I get the error: "Could not load file or assembly ...
1
vote
2answers
339 views

Pushing data from a classic ASP site to SharePoint

We have a publicly facing classic ASP site and I need to capture some data from that site and push it to SharePoint and vice versa. There are a few options as far as I know; Writing a custom web ...
1
vote
1answer
259 views

Use ASP page from web application in SharePoint

I'm trying to use existing aspx page in SharePoint 2010. Page it self depend on some 3rd party classes and I provided source for them and additional assemblies, and project compiles and deploys to ...
5
votes
2answers
467 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'> ...
1
vote
1answer
294 views

How to specify content type when creating a list item using web services?

This is what I have tried so far: string newPageXml = String.Format(@"<Batch OnError='Continue'> <Method ID='1' Cmd='New'> ...
1
vote
1answer
411 views

Error with Asp Dropdown List in SharePoint 2010

To start with, I have a template setup that came from Microsoft for Timecard Management. This template basically tracks the project someone is working on and the specific task. On one page, it is ...
6
votes
5answers
996 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 ...
1
vote
1answer
439 views

ClientContext error while embedding a Silverlight control on ASP page

I build a visual web part in asp.net and I'm trying to embed a xap over it so that users who don't have Silverlight installed would see the asp content: <object id="SilverlightPlugin1" ...
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 ...
1
vote
3answers
6k 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 ...
0
votes
1answer
329 views

How to get Site Map of ASP.NET page from where I am navigated to current page

I want breadcrumb trail from where I navigated to the current page and want to add an extra node to it. For example: I was here A > B > C > D > E (E has a link to Z) now I am here A ...
1
vote
1answer
120 views

how to find out parent web address from where we navigated in a userControl

I have a Web 1 and Web 2, I also have a link of Web 2 in Web 1 using a link button in a SharePoint Site. Now If I click on Link button situated on Web 1 it takes me to Web 2, I Have a User Control on ...
3
votes
1answer
770 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 ...
1
vote
1answer
99 views

How to upgrade user controls on Development Server

I just came across User Controls developed by developers who left company now, I tried looking on google on how to upgrade them on development server but couldn't find any blog or post regarding it. ...
0
votes
2answers
704 views

Asp.net Chart control in SharePoint 2010

Can anyone help me to save the chart control temporary image files on SharePoint 2010 document library/picture library. Actually in my standalone environment the webpart is working fine when using ...
3
votes
2answers
692 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 ...
0
votes
1answer
96 views

Add content to Web Part without reloading

I am developing a Search Web Part for a WSS 3.0 site in Visual Studio 2008. The user types in their search criteria, then clicks OK. In the Click event, I am iterating through every Site Collection in ...
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 ...
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
624 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 ...
1
vote
1answer
2k views

Show list form DispForm.aspx “in window” instead of as a dialog box

Does anyone know how to get a list form to display as an aspx page by default instead of as a popup iframe? For example, when a user clicks on a list item, DispForm.aspx opens as part of the same page ...
1
vote
1answer
928 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
3answers
1k views

issue with forms authentication - Unable to redirect from login page to home page after authentication

In Sharepoint 2010, We created a web application with classic authentication and started developing it. Later, we want to implement forms authentication to our project, so I created a new sharepoint ...
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 ...
0
votes
2answers
774 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 ...
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
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. ...
1
vote
1answer
251 views

Display the actual attachments(Image) in Announcements list?

I have a custom web part on my home page pulling data from the announcements list. When a user clicks on the Title (I have created it as a link) it directs to this page: I would like to modify the ...
0
votes
0answers
298 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
384 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 ...
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 ...
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. ...
4
votes
2answers
1k 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 ...
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
3answers
296 views

Tool to get SPList in webpart using tool

I want to get SPList data in webpart just passing name in tool. Anybody have any idea about that?Please Suggest me.
0
votes
1answer
679 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
314 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
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
5k 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
1answer
5k 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
1answer
653 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
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 ...
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 ...