Hi Team,
I am using kendo date picker for in custom editor template for a kendo grid for pop up editing which is bind to datetime field of the model, now while displaying the value in the kendo date picker in custom editor template the value is displayed according to the user/client machine time zone which is changing the date value when the user is in some other time zone other than EST as application server is in EST , how to resolve the display issue in the kendo date picker for??
I am using the below code in custom editor template.
Please guide how to resolve this?
<div class="editor-field">
@(Html.Kendo().DatePickeFor(m=>m.EndDate)
.Format("MM/dd/yyyy")
.Value(Model.EndDate)
)
@Html.ValidationMessageFor(m => m.EndDate)
</div>
I am using kendo date picker for in custom editor template for a kendo grid for pop up editing which is bind to datetime field of the model, now while displaying the value in the kendo date picker in custom editor template the value is displayed according to the user/client machine time zone which is changing the date value when the user is in some other time zone other than EST as application server is in EST , how to resolve the display issue in the kendo date picker for??
I am using the below code in custom editor template.
Please guide how to resolve this?
<div class="editor-field">
@(Html.Kendo().DatePickeFor(m=>m.EndDate)
.Format("MM/dd/yyyy")
.Value(Model.EndDate)
)
@Html.ValidationMessageFor(m => m.EndDate)
</div>