Hi,
RadGrid throws an 'Index was outside the bounds of the array' error when using ColumnGroups and having datasource=nothing.
Version 2016.1.113.45
Example throwing error (dont bind grid to datasource):
<
telerik:RadGrid
runat
=
"server"
ID
=
"rg"
>
<
MasterTableView
>
<
ColumnGroups
>
<
telerik:GridColumnGroup
HeaderText
=
"Invoice"
Name
=
"Invoice"
></
telerik:GridColumnGroup
>
</
ColumnGroups
>
<
Columns
>
<
telerik:GridBoundColumn
ColumnGroupName
=
"Invoice"
HeaderText
=
"Test"
DataField
=
"Test"
></
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
Working:
<
telerik:RadGrid
runat
=
"server"
ID
=
"rg"
>
<
MasterTableView
>
<
ColumnGroups
>
</
ColumnGroups
>
<
Columns
>
<
telerik:GridBoundColumn
HeaderText
=
"Test"
DataField
=
"Test"
></
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>