Skip Navigation LinksHome > Categories > Code from a Category

Asp.net find controls in CreateUserWizard



User Name: jamest85
Name: James Tang
Contact Me: www.datawebcoder.com/ContactUs.aspx
Home Page: www.datawebcoder.com
Google Apps for Work Partner, Certified Zoho CRM Consultant. 7 years experience on Zoho consulting, implementation, and programming using C#, VB, Php..., 15 years of total IT experience including prog... [More]
Viewed Times: 5337
Add Date: 10/04/2010
During user registration, we might need save extra user information to database, and we might want to ask user to check a CheckBox for accepting "Term and Conditions", if we can find all the controls in CreateUserWizard, that can be done pretty quick
There are two sections that I need to find the controls:
See below example: 1. Find UserName and Password in ContentTemplate: 2. Find FullName control in ContentTemplate: 3.Find CheckBox control in ContentTemplate: 4.Find Button: StepNextButton (Text="Create") in CustomNavigationTemplate: Conclusion:
Once we can find controls, we can save extra registration info to database, and we can popup a Warning alert (by using Javascript) if user didn't check the CheckBox.

Javascript example In Scripts/validInput.js

Post a Comment

Name: (Optional)
Email: (Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Details**:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
 
    
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.