Enhanced ASP.NET ImageButton Custom Control with Roll-Over Effects
This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s ImageButton control is extended to support roll-over effects. Given that the standard control already contains support for both server-side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
One possible use for this control may be to drop several of them into a Panel and use the Panel and collection of buttons as a toolbar. Naturally, the control would work just fine as a standalone control as well.