I have added a date time picker to a kendo grid custom pop-up template. It shows up with out the Calendar and time selector icons. Attached is an image to describe this better.
This is where I am adding the date time to the template
1.
<
div
class
=
"form-group"
>
2.
<
label
asp-for
=
"ScheduledSendDate"
class
=
"col-md-2 control-label"
></
label
>
3.
<
div
class
=
"col-md-10"
>
4.
<
input
id
=
"date-input"
asp-for
=
"ScheduledSendDate"
class
=
"form-control"
/>
5.
<
span
asp-validation-for
=
"ScheduledSendDate"
class
=
"text-danger"
></
span
>
6.
</
div
>
7.
</
div
>
In the shared editor template folder I have defined the following template for datetimes
1.
@model DateTime?
2.
3.
@(Html.Kendo().DateTimePickerFor(m => m)
4.
.Min(DateTime.Now)
5.
)
I show no errors in chrome developer tools and I have imported all of the kendo css and js into _Layout.cshtml
Any help would be fantastic.