CheckChanged is not the same as onclick

C

Chris

I got a group of radio buttons on a form. Some of them I want to post
back to the server and some I don't, so some have got AutoPostBack set
to true and others false.

The problem is when a user selects a client side radio button then
goes back to the autoPostback one originally selected when the form
loaded. This causes the postback but the CheckChanged event isn't
fired because ASP.Net doesn't know about the client side changes.

What I want is an server side OnClick that gets fired when ever the
radio button is Clicked not changed. Disabling ViewState fixes it but
what's the easiest way to do this without disabling ViewState?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top