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

Comments

Add your comment:

Roly-Poly Bridge

Heatherwick Studio's London based rolling bridge is an engineering marvel. Lots of fun, and immensely satisfying to watch (via YouTube, assuming you can't see it in person). From Heatherwick Studio: ...

Master Nerd Births Perfect Copy Cat Bot

Can't help but smile at this goofy, endearing nerd "master" (Vitalijus Rodnovas) guiding his copy-cat protege robot (coined Waldo). The rig allows Waldo to mimic Rodnovas' body movements in ...

Building-Sized Überorgan Emits Heavenly Music and Farts

Tim Hawkinson is an artist who truly inspires. The Los Angeles based artist creates complex, whimsical sculptures with simple mechanics and basic materials. One of his most notable pieces is the ...

Super Slim and Sexy Xbox Mod

iPods are getting smaller and smaller each year. Why not Xbox? Bandit5317 has made an 1-inch thick Xbox. The ultimate Xbox mod: super slim. Pay attention, Microsoft. The "Xbox Micro" has a ...

Laser Coil Gun Shoots Bullets on Pure Electricity

Wow, kudos to Daniel Eindhoven for his incredible laser-lit coil gun. This bad boy shoots bullets on pure electricity and can shoot up to 85 km/hr. Daniel's specs: Fully semi-automatic, up to 14 shots ...

loading...