This is a migrated thread and some comments may be shown as answers.

RadDatePicker without DateInput

1 Answer 69 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 2
Matt asked on 26 Nov 2008, 05:12 PM
Hi,

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.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 26 Nov 2008, 05:30 PM
Hi Tony,

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

http://www.telerik.com/community/code-library/aspnet-ajax/calendar/how-to-use-raddatetimepicker-without-a-textbox-and-popup-buttons.aspx


Kind regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Matt
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or