Home All Groups Group Topic Archive Search About
Author
9 Dec 2005 8:26 PM
Andre
Hi,

    I try to check a Calendar Controls in my Client-Side Validation...

    On Server-side it's easy with Calendar.SelectedDate

    But how can i make this in Client-Side since we cannot put
ControlToValidate with a Calendar in my CustomValidator control..

Thank you

Author
10 Dec 2005 12:05 AM
Joshua Flanagan
You could use the SelctionChanged event of the Calendar to update a
textbox control (hidden, if you like) on your page. Then have your
validator point to the textbox.


Andre wrote:
Show quote
> Hi,
>
>     I try to check a Calendar Controls in my Client-Side Validation...
>
>     On Server-side it's easy with Calendar.SelectedDate
>
>     But how can i make this in Client-Side since we cannot put
> ControlToValidate with a Calendar in my CustomValidator control..
>
> Thank you
>
>

AddThis Social Bookmark Button