Map an ASP.Net server control to the render adapter

Map an ASP.Net server control to the render adapter

In this video tutorial, Chris Pels will show how to use a control adaptor to provide different renderings for an ASP.NET server control without actually changing the control itself. In this video, an ASP.NET BulletList control will be adapted to display each list item horizontally using div elements instead of the traditional ul elements. First, see how to create a class that inherits WebControlAdaptor and then implements the code to render the new list format. Next, learn how to map the new control adaptor to the ASP.NET server control in the .browser definition file. Then see how to use the new control adaptor on pages in a web site. Finally, learn how a control adaptor can be associated with either all browsers or specific types of browsers.

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

Comments

Add your comment:

Superhero Mountain Climbing Car

I'm not sure about the who, what, where, when or how...but man, this mountain climbing car is cool. More car customizations/mods: (HowTo).

Stunningly Slooooowwww Card Flourishes

Dimitri Arleri delivers a set of jaw-dropping card flourishes, performed at a slow pace to "an unidentified piece of ambient opera." Magicians, get ready to be inspired. Hint- the best ...

Go Go Sailor Moon! (and Beauty Guru Michelle Phan)

OK, so Halloween is over. However, I couldn't resist posting Michelle Phan's Sailor Moon/Manga makeup tutorial. Michelle makes amazing beauty tutorials (don't miss her Lady Gaga look!). Also... the ...

Knit the Periodic Table

Science geeks everywhere: the ultimate knitting pattern. Creator apinnick made this amazing sweater displaying the Periodic Table of Elements for her husband, a microbiologist working in the ...

Ignite Prey and Light Cigarettes With a Laser Burner

Looking for an (explosively) fun Thanksgiving project this week? Something that involves fire and lasers? Check it out. YouTube creator StyroPyro lights ten matches in 9 seconds with a modded laser ...

loading...