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


    Make use of client side api of RadDatePicker to accomplish this. Attach "OnDateSelected" client event to start DatePicker and correspondingly enable/disable the other DatePickers from client code, (using set_enabled() method).

    Check the following links for more information about client side methods and properties.
    Client-Side Basics
    RadDatePicker Client Object

Back to Top