RadDatePicker without DateInput

2 posts, 0 answers
  1. Tony
    Tony avatar
    22 posts
    Member since:
    Jun 2005

    Posted 26 Nov 2008 Link to this post


    I have a fussy client who loves the Calendar part of the RadDatePicker but wants drop down lists instead of the "textbox" part (the DateInput).

    I have this all working except when I turn off the DateInput part using :

    rdpWeddingDate.DateInput.Visible = False

    I get a JavaScript error from the rest of the control: ...  Sys.InvalidOperationException: Component 'ctl00_cp1_rdpWeddingDate_dateInput' was not found.

    This problem is easily re-producible, just toggling the .Visible property fix/causes the problem.

    Does anyone know a work around for this, some other part that needs disabling, perhaps ?

    Thanks for your help.
  2. Dimo
    Dimo avatar
    8406 posts

    Posted 26 Nov 2008 Link to this post

    Hi Tony,

    Please consult the following fresh code library example (published today :-) ) in order to see how to hide the DateInput:


    Kind regards,
    the Telerik team

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