Extend and customize an ASP.Net server control

Extend and customize an ASP.Net server control

In this video tutorial, 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.

Hosted by microsoft.com
Creator's Site: www.asp.net
Curated By: rmansur

Comments

Add your comment:

Human Powered Ferris Wheel

According to Google's (albeit rough) translation from French to English: "A big wheel in India that does not work with an engine but using human power. Men throw themselves in front of the wheel ...

Make-It-Yourself LEGO Gummies

Turkey day is over, and you have this nice Friday-Saturday-Sunday stretch before it's back the daily grind. Here's a project that inspires both young and old: LeGummies brick shaped gummy candies ...

Geek-Shooting Rubberband Machine Gun

It's the idea that counts. This geeky rubberband machine gun is pretty sweet looking... but I wish it had a little more force. The gun can very quickly shoot (200!) rubberbands, but it just tumbles ...

4 Years in the Making: Insane Papercraft City

Tokyo art student, Wataru Itou, spent four long years crafting his meticulous paper city, entitled "A Castle On the Ocean".  The miniature papercraft city was constructed with ...

Jetman Flys Over Atlantic with DIY Wings - Plummets!

Yves Rossy, AKA Jetman, attempted to fly across the Atantic from Morocco to Spain yesterday. His homemade, jet powered wings "span 8 feet and are powered by four kerosene-fueled jet engines ...

loading...