Hey Guys,
I have a strange problem in my Syncfusion DateRangePicker (v18.2.0.56).
When i open the DateRangePicker with default languaga German or English everything is fine, but when i change my applications language to french, i will get an Error.
The problem shows up, that the DateRangePicker will not show up and the element is not clickable anymore.
Code example and error message are below:
ViewData[ViewDataKeys.DatePickerId] = "dateRangePicker";
var dateFormat = DateTimeFormats.DefaultDateFormatDayFirstDotted;
<div class="col-sm-8 col-md-6 col-lg-6">
@*Remove only 6 days because one day will be added at readout function to get straight one week*@
@Html.EJS().DateRangePicker(ViewData[ViewDataKeys.DatePickerId] as string).Format(dateFormat).FirstDayOfWeek(1)
.WeekNumber().StartDate(DateTime.Today.AddDays(-6)).EndDate(DateTime.Today).ShowClearButton(false)
.Created("onDateRangePickerCreated").Change("onDateRangePickerChange").Select("onDateRangePickerSelect")
.Close("onDateRangePickerClose").Render()
</div>
<script>
function onDateRangePickerSelect(args) {
}
function onDateRangePickerChange(args) {
addGridParams(true);
}
function onDateRangePickerClose(args) {
//prevent closing
//args.cancel = true;
}
function onDateRangePickerCreated(args) {
//show by default
var dp = document.getElementById("@(ViewData[ViewDataKeys.DatePickerId] as string)").ej2_instances[0];
dp.show();
}
</script>

Thank you already for your help and kind regards
Dominic