This is a migrated thread and some comments may be shown as answers.

[Solved] Binding to DataTable exposes ie-bug in jquery

0 Answers 19 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gaute
Top achievements
Rank 1
Gaute asked on 29 Apr 2011, 02:17 PM
I need to show a grid of columns selected at run-time with Razor. To achieve it I've made a System.Data.DataTable of the content in the view-model and bind to it:
@(Html.Telerik().Grid(Model.DataTable).Name("Grid"))

This gives a bug in ie. Since I don't have control of the jquery-selector I had to use the easy work-around of adding an empty catch-block to the resolveWith-function in jquery. Is there a better way?
Tags
Grid
Asked by
Gaute
Top achievements
Rank 1
Share this question
or