Date picker is not loading once it is deployed on server but in local it is working.

0 Answers 90 Views
Date/Time Pickers DateInput DateRangePicker
Mohit
Top achievements
Rank 1
Mohit asked on 22 Sep 2023, 05:53 AM | edited on 22 Sep 2023, 05:59 AM

So this is the code.

@(Html.Kendo().DatePicker()
                          .Name("frShift")
                          .Start(CalendarView.Year)
                          .Depth(CalendarView.Year)
                          .Format("MMMM yyyy")
                          .Value(DateTime.Now)
                          .Min("01/01/" + Model.StartYear)
                          .Max("12/31/" + Model.EndYear)
                          .HtmlAttributes(new { style = "width: 100%;", placeholder = "Select month...", title = "Shift From" })
                          .Events(e =>
                  {
                      e.Change("shiftDemand.updToRow");
                  })

 

On local it is opening while on server it is not opening due to date control. If we remove date control then it will load. Please respond.

It is on Local

 

but once i deploy on QA and PROD server its loading but not opening.

No answers yet. Maybe you can help?

Tags
Date/Time Pickers DateInput DateRangePicker
Asked by
Mohit
Top achievements
Rank 1
Share this question
or