Clue: Remember the ASP.NET's ImageButton type?
The ImageButton is the .NET type that represents a clickable image. It derives from the Image type and exposes an event called Command.
Programmatically you can add the Command event like this:
ImageButton img = new ImageButton();
img.Command += new CommandEventHandler(MyImgEvent_Command);
img.Command += new CommandEventHandler(MyImgEvent_Command);
Problem solved!
Be a part of our private list!
Enter your e-mail and access The Rabbit Way's exclusive offers.
No comments:
Post a Comment