I have a Web form with something like:
I also have two RadioButtons with AutoPostBack set to true.
The problem is when I click on one of the radio button, the form is posted
Thanks in advance.
The radio buttons you are using do not submit the form the same way a
button does. The OnSubmit event of the form object only fires when a
button of type Submit fires the event. When a radio button ( or
checkbox, or dropdownlist) is set to autopostback, that postback occurs
via the __doPostback function generated automatically by ASP.NET. This
function takes an eventTarget and an eventArgument, and posts this data
back to the sever. To see an example of this, view the HTML source on
your page. One way to get around this problem is to override the
One such example can be found here:
Hope this has been helpful, Good Luck!
|All times are GMT. The time now is 02:46 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.