3 Answers, 1 is accepted
Hello,
You can achieve this requirement using the following approach:
https://dojo.telerik.com/EDuGIqeQ/7
I hope this will prove helpful.
Regards,
Eyup
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Ok thanks, but using that method overwrites the content of my daterangepicker when it loads data on the "range" attribute. I am creating the daterangepicker using the Html helper in the visual studio, this is my code:
@(Html.Kendo().DateRangePicker() .Name("datepicker1") .Messages(m => m.StartLabel("Fecha Inicio").EndLabel("Fecha Fin")) .Min(Model.FechaInicio) .Max(Model.FechaFin) .Range(r => r.Start(Model.Fecha1).End(Model.Fecha2)) .Culture("es-ES") .Footer(" ") .Events(e => e.Change("updateView")) )
I am using some standard dates in "Min" and "Max" attributes to limit the range of dates that can be selected, and I am showing the selected dates in "Range" for informational proposes. In the "Event" I am using a Javascript method to send the selected range to the backend to later update the information of a dashboard in the Html. So what I want to validate is when a person wants to update the data from the dashboard by selecting a new range of dates, the placeholders of the inputs show "día/mes/año" instead of "day/month/year". I hope you can help me with this.
Hello,
In this case, you can use the following alternative approach, which provides a better resolution overall for this case:
https://dojo.telerik.com/EDuGIqeQ/19
Regards,
Eyup
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
