Client-Side Validation

Discussion in 'ASP .Net' started by Andre, Dec 9, 2005.

  1. Andre

    Andre Guest

    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
    Andre, Dec 9, 2005
    #1
    1. Advertising

  2. 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:
    > 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
    >
    >
    Joshua Flanagan, Dec 10, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Libs
    Replies:
    0
    Views:
    1,482
  2. Matt
    Replies:
    14
    Views:
    4,069
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  3. =?Utf-8?B?dmlkeWE=?=
    Replies:
    1
    Views:
    740
    Kevin Spencer
    Jun 2, 2005
  4. Boss302
    Replies:
    0
    Views:
    1,018
    Boss302
    Nov 21, 2006
  5. Bogdan
    Replies:
    2
    Views:
    635
    Bogdan
    Jun 9, 2008
Loading...

Share This Page