4 RadDatePickers enable/disable

2 posts, 0 answers
  1. bala kumar
    bala kumar avatar
    2 posts
    Member since:
    Jul 2010

    Posted 28 Jul 2010 Link to this post

    Hi, I have 4 radDatePicker in a form say start date from, start date to, end date from and end date to. the scenario is if i select something in start date from or start date to both end date from and end date to should be disabled viz. when i clear the values all four radDatePicker should be enabled..
    any body have any suggestions how to do this??
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 Jul 2010 Link to this post

    Hi,


    You can accomplish this by making use of client side api for RadDatePicker. You need to attach "OnDateSelected" client event to first RadDatePicker and then enable/disable the other DatePickers by using set_enabled() method.

    The following links will be helpful in client-side access to RadDatePicker.
    Client-Side Basics
    RadDatePicker Client Object


    Please write again if you need further assistance.

    Regards,
    Shinu.
Back to Top