View Full Version : Does onclick works on asp:image?

12-08-2006, 05:19 PM
I have a form with text box and asp:image. I wrote an onsubmit for the form tag. When I use asp:image it is not working. So I had to change to <input type=image>. But this is giving problems with the image path name.

So does any one know how I can use asp:image with onsubmit?

12-08-2006, 05:22 PM
ImageButton should do the trick, let us know how it works out.

Good luck;