We have a datepicker on an MVC view, rendered per this snippet:
@(Html.Kendo().DatePicker()
.Name(
"criteriaDate"
)
.Depth(CalendarView.Year)
.Format(Model.DateFormat)
.Max(Model.RangeEnd.DateTime)
.Min(Model.RangeStart.DateTime)
.Value(Model.RangeStart.DateTime)
.HtmlAttributes(
new
{ style =
"width:100%;"
})
)
Everything works fine when the view is rendered directly, but when another site attempts to show it in an iframe we are seeing this error in the Visual Studio debugger: Unhandled exception at line 25, column 9190 in http://localhost/site/Scripts/kendo.all.min.js, which is in the toFront function on the "s=document.activeElement" line. The result is that the datepicker control doesn't render on the page.
I didn't see anything on this topic, so any help would be appreciated. Thanks in advance...