Author: Jungle | Posted on: 1/8/2010 5:03:51 PM | Views : 1146

What is the best way to go about this?
 
I have 5 (asp.net control) Radiobuttons and an asp.net button which when the user clicks this button (called next), it performs some 'functionality' in the code behind.  What I want to do is check to see if at least one of the Radiobuttons have been checked and show a popup offering the user the ability to cancel and select at least one radiobutton (if they want to). 
 
So, basically, I need to do this..
First Evaluate if Radiobuttons are all unchecked
if so, then show a popup telling the user that all are unchecked and ask if they are sure they want to continue.
if one is checked, then run the code behind with no popup.
if the user does get the popup and selects to continue anyways,  then run the code behind, otherwise close popup and skip running the code behind.
 
 
 
...

Go to the complete details ...