Disable some dates

2 posts, 1 answers
  1. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 01 Oct 2008 Link to this post


    I'm using a Raddatepicker.

    I would like to prevent users to click on a lot of dates...

    My idea would be to
    1/ Disable all the date
    2/ Enable somes date wich can be selected

    Is it possible ? How ?

  2. Answer
    Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 01 Oct 2008 Link to this post

    Hi Filleau,

    Unfortunately the scenario you described is not possible. You could not disable all Calendar days by default and after that enable those you need. However a possible implementation is the opposite scenario- adding the days you need to disable in a SpecialDays collection and after that disable those particular days.
    Application which shows similar scenario is provided in this code library.

    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top