Building a SharePoint 2007 Web Part using Web User Controls
page 1 of 5
Published: 19 Nov 2007
Abstract
In this article Steven demonstrates how to build a SharePoint 2007 Web Part using user controls with the help of a series of steps.
by Steven Barden
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 21757/ 273

Introduction

The purpose of this article is to demonstrate how to develop a SharePoint 2007 Web Part from scratch that dynamically loads users' web user controls, rather than using the HTML render method. This method allows the developer to use the full power of Visual Studio 2005 in the rapid development of rich, web user control based SharePoint web parts.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 4 and 7 and type the answer here:

User Comments

Title: Download Link Broke   
Name: Mike Moynihan
Date: 6/10/2009 3:43:57 PM
Comment:
Download link is broke. http://authors.aspalliance.com/sbarden/AspAlliance-BuildingASharePoint2007WebPartUsingWebUserControls-StevenBarden.zip
Title: AJAX support   
Name: Mohamed Hassan
Date: 4/22/2009 1:32:54 AM
Comment:
Thank you very much for that effort, but i am asking how to add ajax support?? because if the usercontrol contains any ajax control(ex:calender extender), unknown error happened
Title: Could Not Load U/C... Spelling Or Permissions?   
Name: Steven Barden
Date: 2/4/2009 6:56:27 AM
Comment:
I'm guessing the problem is in the Step 4 area. Check to make sure that the ~/usercontrols directory and code references are all spelled EXACTLY the same between filesystem and code. Also, make sure that the ~/usercontrols directory permissions (and down) are set so the user set in the App Pool that the website sites in has permission to reach into the directory and work with the control.
Title: Could not load type Usercontrol   
Name: dn
Date: 2/4/2009 4:09:04 AM
Comment:
I follwed the suggested steps . I am getting a error (Could not load type Usercontrol). Please suggest me.

Thanks in advance
Title: Not setting full   
Name: Sb
Date: 1/23/2009 9:10:13 PM
Comment:
Yes, you can perform this task in other ways, such as custom permissions where you make your own configuration. This is of course highly recommended. This demo was just a start point.
Title: Is there a way around changing the permission to full?   
Name: Tim
Date: 1/23/2009 8:39:00 AM
Comment:
Is there any way to avoid setting the permission to full. Can we explicitly add the directory where we need file access in the web config?

Thanks!
Title: Good   
Name: Deepak B.R
Date: 8/30/2008 12:27:18 PM
Comment:
Easiest way to add the webcontrol.

Product Spotlight
Product Spotlight 
Learn More






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 7/5/2009 3:58:33 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search