I have this following scenario. I have a usercontrol in my page which has a radio button. This control is placed in a page, on click of a button in the page I need to know if the radio button is selected. This is a client event click event of the button as I have to show a confirmation message box i.e. if user clicks yes only then I have to do the remaining operation. Can you guide me what would be the best way to find if the radio button in the userControl is selected.
Thanks
var radioButtonObject = document.getElementById('radio_id'); if (radioButtonObject.checked) { /* do this */} else { /* do that*/ }