Page view counter
HomeLearnVideosHow Do I: Map an ASP.NET Server Control to the Adaptor Used to Render It  

How Do I: Map an ASP.NET Server Control to the Adaptor Used to Render It

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

Presented by Chris Pels

Duration: 23 minutes, 46 seconds

Date: 19 June 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 : 4

Leave a Comment

dw.egun : On June 23, 2008 1:35 AM said:

Thanks a lot. This is a great video.

kaveesh : On June 25, 2008 8:59 AM said:

frankly this is a great video and helps sometimes rather than recreating a new custom control we can only use the adapter to change the presentation (rendering) of the control

kaveesh : On June 25, 2008 9:00 AM said:

Thanks really great video and helps in rather recreating new custom control, we can easily change the presentational behaviour of the control

djafer : On November 12, 2008 7:56 AM said:

Çok güzel hazırlanmış, teşekkürler.

Leave a Comment

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

Microsoft Communities