PDA

View Full Version : use of Radio Buttons in ASP


zami
12-16-2010, 12:47 PM
hi again
i m making an asp page in which user select 1 radio button and on its selection other selection visible, i m typing here example how it will work

provience * District * Taluka*
here are 3 radio buttons, now if user click on profience, a querly will execute and will show data according to provience data, and if user click on district a list of district will show and user click district and can get data according to district, same on clicking user have district list and then correspondingly tehsil lists so user can get data according to tehsil.
http://rapidshare.com/files/437311384/website.gif
I also want when use click on provience other buttons wil invisible, and then ueser click on district, provience button wil dissable.
plz help me
thanks
zami

Old Pedant
12-16-2010, 07:31 PM
This is 80% a JavaScript question that isn't really related to ASP, at all.

The only part that is ASP-related is that the JS code will use AJAX to connect back to your ASP server so that ASP can do the query and return the data back to JS.

Look here:
http://www.w3schools.com/asp/asp_ajax_intro.asp

I also want when use click on provience other buttons wil invisible, and then ueser click on district, provience button wil dissable
This part is 100% JavaScript. Nothing at all to do with ASP.