I don't want to post a form by clicking on ImageButton

  • Thread starter Thread starter =?iso-8859-1?Q?Ga=EBtan?=
  • Start date Start date
?

=?iso-8859-1?Q?Ga=EBtan?=

I want to post my form by clicking on a RadioButton but
not on clicking on an ImageButton. How to do to execute
only the click procedure of the ImageButton and not the
postback of my page. Because on the postback of my page I
want to test the request.form of my RadioButton.
I try to change the CausesValidation property of the
ImageButton but it doesn't work better.

Thanks for your help.
 
The Click procedure is server side code, so it has to postback. If you want
to process on the client side you will have to add Javascript to the page
and intercept the click to the client JavaScript.

Tom
--
==========================================
= Tom Vande Stouwe MCSD.net, MCAD.net, MCP
= 45Wallstreet.com (www.45wallstreet.com)
= (803)-345-5001
==========================================
= If you are not making any mistakes
..= ..you are not trying hard enough.
==========================================
 
Back
Top