Shruti, you probably want to do one of the following: 1. Make your img tag a submit button with the image as it's source and then add the runat=server attribute 2. Use an ImageButton control to do the same thing.
Greg Ewing [MVP] www.citidc.com -----Original Message----- From: Gupta, Shruti (UMKC-Student) [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 10:10 AM To: [EMAIL PROTECTED] Subject: [AspNetAnyQuestionIsOk] Problem with IMG Tag Hello Everyone I am working in ASP.Net, and using a IMG tag. I want to execute function and also want to redirect to different page on the click of the IMG tag. Can someone please tell me how to do it in ASP.Net. Its quite urgent for me. Thank You Shruti [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/