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

Datepicker not showing the calendar

1 Answer 1957 Views
DateInput
This is a migrated thread and some comments may be shown as answers.
Guest10
Top achievements
Rank 1
Guest10 asked on 20 Feb 2020, 12:16 AM

Hi,

I have the following code using datepicker for a Datetime filed but it is not showing the date icon to show the dropdown of calendar. It just shows the text box.

FYI. I am using datepicker and it works fine. Also, I am using Timepicker which works fine.

Is there any reason why it shows the calendar pop up in one screen and not in other.

 <div class="form-group col-md-6 row rowSmall text-right ">
                    @Html.LabelFor(model => model.XStartDate, htmlAttributes: new { @class = "control-label col-md-4" })
                    <div class="col-md-8 text-left">
                        @*@(Html.Kendo().DatePickerFor(model => model.XStartDate).Value(DateTime.Today).HtmlAttributes(new { style = "width: 150px", title = "datepicker" }))*@
                        @(Html.Kendo().DatePickerFor(model => model.HearingStartDate).HtmlAttributes(new { style = "width: 200px", title = "datepicker" }))
                    </div>

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Guest10
Top achievements
Rank 1
answered on 20 Feb 2020, 09:11 PM

Never mind. Figured it out.

The main window had same field name so it was overlapped with the pop  up window field name.

 

Thanks

Tags
DateInput
Asked by
Guest10
Top achievements
Rank 1
Answers by
Guest10
Top achievements
Rank 1
Share this question
or