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

Hiding the DatePicker TextBox

2 Answers 822 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Matthias
Top achievements
Rank 1
Matthias asked on 09 Feb 2015, 03:06 PM
Hello,

is is possible to hide the input TextBox of the Kendo UI DatePicker to only show the button which opens the date selection?

Best regard

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 11 Feb 2015, 10:07 AM
Hello Matthias,

In general, there is no built-in way to hide the input element of the DatePicker widget. The options are either hide it using CSS or implement a stand-alone widget that shows Kendo UI Calendar widget in a popup.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Vaibhav
Top achievements
Rank 1
answered on 29 Jul 2015, 04:20 PM

One possible way to hide it is to put it under an empty div with 0px width , height and set overflow;"hidden"

 Also have separate button and onclick open the datepicker programmatically. 

<div style="width:0px; height:0px; overflow:hidden;">put datepicker control here</div>‚Äč

Tags
Date/Time Pickers
Asked by
Matthias
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Vaibhav
Top achievements
Rank 1
Share this question
or