usercontrol and clientside validation
I have a usercontrol and i have written sone clientside
validation script associated along with it. Now when i
register this usercontrol in the mainwebform, how can i
access the clientside validation to validate the
Thanks in advance
Re: usercontrol and clientside validation
if i know I will never add any more controls to the page I will let the page
render. then I will look at the source. your elements will have id's like
"_ctl45_txbZipCode" or "_ctl45_txbName". I would then use these as the name
to validate against...
if (document.Form1['_ctl45_txbName'].value.length == 0) return false;
**NOTE: if you add controls to the page the "ctl45" may change to "ctl46"
whatever. sorry if this is not what you are talking about....
"Ken" <firstname.lastname@example.org> wrote in message
> Hi there,
> I have a usercontrol and i have written sone clientside
> validation script associated along with it. Now when i
> register this usercontrol in the mainwebform, how can i
> access the clientside validation to validate the
> Thanks in advance
|All times are GMT. The time now is 03:41 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.