protected void CreateUserWizard1_CreatingUser(object sender, LoginCancelEventArgs e) { if (RadioButtonList1.SelectedIndex == -1) { return;//not to proceed } }
protected void CreateUserWizard1_CreatingUser(object sender, LoginCancelEventArgs e) { if (RadioButtonList1.SelectedIndex == -1) { e.Cancel=true; // <----- Add this line. return;//not to proceed } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)