Hide the datepicker and timepicker input boxes

1 Answer 61 Views
DatePicker TimePicker
Dean
Top achievements
Rank 1
Dean asked on 06 Oct 2021, 08:40 PM
Is there a way to hide the input boxes in the datepicker and timepicker? I am trying to just make use of the popups and no show the inputs.

1 Answer, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 11 Oct 2021, 12:11 PM

Hi Dean,

I am not sure what your exact scenario is but you can hide the input boxes with CSS like so:

.k-datepicker, .k-timepicker {
    display: none;
}

There are no properties that allow you to render just the popup content, without the input box.

However, you can use our Kendo Calendar component, which is the content of the DatePicker popup.

Let us know in case additional information is needed.

Regards,
Ivo
Progress Telerik

Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.
Tags
DatePicker TimePicker
Asked by
Dean
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Share this question
or