Page view counter
HomeLearnVideosHow Do I: Extend and Customize an ASP.NET Server Control for a Specific Purpose  

How Do I: Extend and Customize an ASP.NET Server Control for a Specific Purpose

In this video Chris Pels will show how to extend a standard ASP.NET server control and customize it for a specific purpose. Specialized controls provide an convenient way to implement standardized user interface elements for multiple web sites for individuals or teams of developers. In this example, see how to extend the DropDownList control to create a special purpose year selection control. Learn how to add properties for custom attributes that control the behavior of the range of years that can be displayed. Next, see how those custom attributes can be set in declarative syntax like standard attributes of a control. See how several additional properties can then be added to provide additional functionality for controlling the list behavior. Finally, see how an extended ASP.NET server control can be moved to a separate assembly so that it can be used across multiple web sites.

Presented by Chris Pels

Duration: 26 minutes, 36 seconds

Date: 20 May 2008

Watch the video   |   Download the video   |   Get VB code  or  C# code

Video downloads: WMV | Zune | iPod | PSP | MPEG-4 | 3GP

Audio downloads: AAC | WMA | MPEG-4 | MPEG-3 | MPEG-2

Comments : 8

Leave a Comment

Dollarjunkie : On May 23, 2008 1:09 AM said:

Excellent  tutorial. I hope we get more on controls and user controls as some of us are interested in learning to build custom server controls and the likes.

meifert : On June 18, 2008 9:57 AM said:

I agree, excellant video.  I'm a learn-as-I-go programmer and this tutorial has taught me many things.  Keep up the good work Chris.

the_menace : On June 19, 2008 3:13 AM said:

This is a great detailed tutorial.

cv_vikram : On August 09, 2008 8:40 AM said:

tfs....

asater : On August 19, 2008 1:36 PM said:

Thank you so much

chennupatiravikumar : On October 06, 2008 7:20 AM said:

thank you very much some use full vedio .... good

yathihv : On October 22, 2008 6:28 AM said:

Good Video tutorial.. I learned a lot from this..

Nezdet : On November 14, 2008 6:30 PM said:

good video.. but it doesn't work if I use a project instead of website.. Why?? I register the namespace and it finds the namesace...

but later I can't use <hdi:YearDropDownList, cause it can't find the hdi

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities