This question is locked. New answers and comments are not allowed.
Hello!
I have this definition for the Grid:
The Grid is in the TabStrip, so I can not switch between tabs in the TabStrip after adding Grid definition to content of some tab.
Also JS error has appeared:
I saw your "Grid Binding to DataTable Sample" and it works fine. I have not found a difference with my code.
What could be the problem?
Very thanks,
Max
I have this definition for the Grid:
@(Html.Telerik().Grid(Model.GridDataTable)
.Name(
"Grid"
)
.Columns(columns =>
{
foreach
(System.Data.DataColumn column
in
Model.GridDataTable.Columns)
{
columns.Bound(column.DataType, column.ColumnName);
}
})
.Pageable()
.Sortable()
.Filterable()
.Groupable()
)
The Grid is in the TabStrip, so I can not switch between tabs in the TabStrip after adding Grid definition to content of some tab.
Also JS error has appeared:
Uncaught SyntaxError: Unexpected identifier
b.grid.valueFor
b.grid.initializeColumns.p
e.extend.proxy.g asset.axd:2
e.extend.each asset.axd:2
b.grid.initializeColumns
b.grid
a.fn.tGrid.b.create.init
a.telerik.create asset.axd:5
e.extend.each asset.axd:2
e.fn.e.each asset.axd:2
a.telerik.create asset.axd:5
a.fn.tGrid
(anonymous function)
ax asset.axd:5
a.ajax.success asset.axd:5
f.Callbacks.n asset.axd:2
f.Callbacks.o.fireWith asset.axd:2
w asset.axd:4
f.support.ajax.f.ajaxTransport.send.d asset.axd:4
I saw your "Grid Binding to DataTable Sample" and it works fine. I have not found a difference with my code.
What could be the problem?
Very thanks,
Max