Create A Custom Image Button Control

Category:
C#, VB.NET, ASP.NET
Type:
Controls
Difficulty:
Beginning
Author:
Scott Lysle

Version Compatibility: Visual Basic.NET, ASP.NET

More information:
The included project is an easy approach to the construction of a custom ASP.NET 2.0 image button control that contains both a mouse-over effect and calls a JavaScript function when clicked. While the code is fairly trivial, the concepts illustrated in this example are relatively important, and are key to integrating client side functionality into an ASP.NET 2.0 project.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download moebutton.zip