Re: Can I tie a validator to two controls at once?
- From: "Jason Kester" <jasonkester@xxxxxxxxx>
- Date: 16 Nov 2005 10:43:33 -0800
You can do anything you want. You're a programmer!
This is pretty straightforward. I just add another attribute to the
validator tag, like secondControl="txtDate2". It will render as an
attribute of the DIV used for the validator and you'll get a reference
to that DIV (or is it a Span?) in the custom validation function. Just
grab the attribute, getElementByID(), and you're good to go.
Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/
---
Get your own Travel Blog, with itinerary maps and photos!
http://www.blogabond.com/
.
- Follow-Ups:
- Re: Can I tie a validator to two controls at once?
- From: Alan Silver
- Re: Can I tie a validator to two controls at once?
- References:
- Can I tie a validator to two controls at once?
- From: Alan Silver
- Can I tie a validator to two controls at once?
- Prev by Date: Re: Server side preview of IE rendering...
- Next by Date: Re: asp.net on server 2003 with IIS NOT installed, System.DllNotFoundException: Unable to load DLL (aspnet_isapi.dll)."
- Previous by thread: Re: Can I tie a validator to two controls at once?
- Next by thread: Re: Can I tie a validator to two controls at once?
- Index(es):
Relevant Pages
|