This question is locked. New answers and comments are not allowed.
Hey guys
I have a strange issue that is driving me to distraction. I have a simple grid as the below snippet demonstrates.
This works fine on Firefox however in Internet Explorer (v7 & 8) the first load of the grid seems to fail. It leave the refresh spinner twisting in the wind, the pages list on has a single digit in it (instead of the 14 pages it should have!) and the "displaying" text simply states "0 - 0 of 0" (see attached screenie). It also does not fire the OnDataBound event. If you subsequently click the 'next button' arrow, it loads the second, and subsequent, pages with no difficulty; showing the page index and information fine. However, it does screw up again when you click the first page.
IE does report an "unspecified error" in the middle of the jquery-1.4.2.min.js library (line #423). I have the following ScriptRegistrar call in the page. If I remove this the table appears to load fine (although with zero styling).
If I remove this line, the
Anyone have any ideas?
I have a strange issue that is driving me to distraction. I have a simple grid as the below snippet demonstrates.
Html.Telerik().Grid<Candidate>() |
.Name("Grid") |
.Columns(cols => |
{ |
cols.Bound(i => i.Number) |
.Width(25) |
.Filterable(false) |
.Title("Candidate No") |
.HtmlAttributes(new {@class = "ResultsNumber"}) |
.HeaderHtmlAttributes(new {@class = "ResultsNumber"}); |
}) |
.DataBinding(db => db.Ajax().Select("CandidatesJson", "ResultsPreview")) |
.Sortable() |
.Pageable(pager => pager.PageSize(4)) |
.ClientEvents(events => events.OnDataBound("onDataLoaded")) |
.Render(); |
This works fine on Firefox however in Internet Explorer (v7 & 8) the first load of the grid seems to fail. It leave the refresh spinner twisting in the wind, the pages list on has a single digit in it (instead of the 14 pages it should have!) and the "displaying" text simply states "0 - 0 of 0" (see attached screenie). It also does not fire the OnDataBound event. If you subsequently click the 'next button' arrow, it loads the second, and subsequent, pages with no difficulty; showing the page index and information fine. However, it does screw up again when you click the first page.
IE does report an "unspecified error" in the middle of the jquery-1.4.2.min.js library (line #423). I have the following ScriptRegistrar call in the page. If I remove this the table appears to load fine (although with zero styling).
<%= Html.Telerik().StyleSheetRegistrar() .DefaultGroup(group => group . .Add("telerik.common.css") .Add("telerik.windows7.css")) %> |
If I remove this line, the
Anyone have any ideas?