By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,950 Members | 986 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,950 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.
==========================================
"Gatan" <ga***********@ispv.fr> wrote in message
news:09****************************@phx.gbl...
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.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.