Can I tie a validator to two controls at once?
- From: Alan Silver <alan-silver@xxxxxxxxxxxx>
- Date: Wed, 16 Nov 2005 15:34:46 +0000
Hello,
I have two dropdown controls on a form, representing a month/year combination. The date entered must be in the future, so I wrote a custom validator to check this. Trouble is, the validator is only tied to one control (currently the month dropdown), which means that the validation isn't fired when the other control's value changes.
Is there a way of getting the client-side validation code to fire when either one of two controls is changed? TIA
-- Alan Silver (anything added below this line is nothing to do with me) .
- Follow-Ups:
- Re: Can I tie a validator to two controls at once?
- From: Jason Kester
- Re: Can I tie a validator to two controls at once?
- From: Jay Douglas
- Re: Can I tie a validator to two controls at once?
- Prev by Date: Re: Problem returning identity from SQL Server when string contains semicolon
- Next by Date: Q: Special server for running Cellphone apps?
- Previous by thread: Re: asp.net on server 2003 with IIS NOT installed, System.DllNotFoundException: Unable to load DLL (aspnet_isapi.dll)."
- Next by thread: Re: Can I tie a validator to two controls at once?
- Index(es):
Relevant Pages
|
Loading