Hi! can anyone tell me how can i apply validation that one of the radio button must be selected among three radio buttons. It is quite easy to handle it through radiobuttonlist but the format appear in list. Please provide code in C#. thanx
Yes, but i want that none of them should be selected, and the validation enforce user to select any one by himself.
Like : Code: bool flag = false; flag = flag || radiobutton1.Checked; flag = flag || radiobutton2.Checked; flag = flag || radiobutton3.Checked; if( flag ) { // continue execution } else { // prompt user to select a radiobutton }