If the CreateUserWizard name is CreateUserWizard1 and an radio button is incorporated by coder, you will not get the radio button directly, rather you have to follow the code below:
RadioButtonList RadioButtonList1 =(RadioButtonList)CreateUserWizard1.CreateUserStep.
ContentTemplateContainer.FindControl("RadioButtonList1");
       if (RadioButtonList1.SelectedValue == "User")
       {
           type = 0;
       }
       else
       {
           type = 1;
       }
About Me
- Redwan
- Dhaka, Bangladesh
- I am B.S.C Engineer,CSE,SUST and Ex-Cadet of Mirzapur Cadet College.
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment