This question is locked. New answers and comments are not allowed.
Hi
I am useing the DateTimePicker. When set Enable to false it still displays the buttons and when you click them you get the following error.
htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
If you are just using DatePicker the button is disabled.
Also the DatePicker has a ShowButton which is not an option for DateTimePicker, is it possible to implement so it is consistent with DatePicker.
Below are examples
Thanks
John
I am useing the DateTimePicker. When set Enable to false it still displays the buttons and when you click them you get the following error.
htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
If you are just using DatePicker the button is disabled.
Also the DatePicker has a ShowButton which is not an option for DateTimePicker, is it possible to implement so it is consistent with DatePicker.
Below are examples
<%: Html.Telerik().DatePickerFor(Function(model) model.ReadDate).Enable(Model.isEnabled).ShowButton(Model.isEnabled)%>
<%: Html.Telerik().DateTimePickerFor(Function(model) model.CompletedDate).Enable(Model.isEnabled)%>
Thanks
John