Microsoft
Software
Hardware
Network
Question : ASP.NET CreateUserWizard Custom Validator
In my CreateUserWizard, I added a dropdownlist and a textbox.
The dropdownlist ask the users how they learn about my company. The options are:
0. -
1. Friend
2. Google
3. Yahoo
4. Others.. Please specify
I need a custom validator that will do the following:
1. Make sure that the value of the dropdownlist is greater than 0
2. If the value of the dropdownlist is 4, then the user must provide the answer in the textbox.
Thanks.
Answer : ASP.NET CreateUserWizard Custom Validator
Have u tried this:
var DDLName = document.getElementById('C
reateUserW
izard1_Cre
ateUserSte
pContainer
_ddIS');
or may be this:
var DDLName = document.getElementById('<
%=CreateUs
erWizardSt
ep1.Conten
tTemplateC
ontainer.F
indControl
("ddIS").C
lientId %>');
Random Solutions
Pairing Recent Dates through SQL
DCPromo & Cryptographic Keys
Synchronize Scrollbars of TreeViews
E-Machines EL1200 BSOD at Startup - Windows XP SP2
Small Business communications tools advise
How do I setup "completely" Unsolicited Remote Assistance Requests in Windows 7 for remote support? - Replacing free VNC
Crystal report file as resource?
Configure two ESXi servers for fail over
exchange log files
Internet connection slow windows 2008 r2