Hello.
I have a dialog that is loaded from ajax and shown with jquery ui dialog, the html returned by ajax contains a kendo ui datepicker, this datepicker works the first time, but after closing the dialog and opening it again the datepicker is just a text input with no kendo behaviour.
I'm using the MVC helpers, the HTML returned by ajax is like this:
How can I fix it so that it always works, and not only the first time?
Thanks.
I have a dialog that is loaded from ajax and shown with jquery ui dialog, the html returned by ajax contains a kendo ui datepicker, this datepicker works the first time, but after closing the dialog and opening it again the datepicker is just a text input with no kendo behaviour.
I'm using the MVC helpers, the HTML returned by ajax is like this:
<form action="@Url.Action("Save", "Calendario")" method="post" data-as-ajax="edit-appointment"> <input type="hidden" name="ID" value="@Model.ID" /> <div class="row"> <label for="FechaInicio">Fecha Inicio</label> @Html.Kendo().DatePicker().Name("FechaInicio").Value(Model.FechaInicio) </div> <div class="row"> <label for="Asunto">Asunto</label> <textarea name="Asunto">@Model.Asunto</textarea> </div> <div class="row"> <label for="Observaciones">Observaciones</label> <textarea name="Observaciones">@Model.Observaciones</textarea> </div> <input type="submit" value="Guardar" /> </form>How can I fix it so that it always works, and not only the first time?
Thanks.