System.ArgumentOutOfRangeException
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
This error seems to happen if there is a GridTemplateColumn that has the Exportable property set to False.
<
telerik:RadGrid
runat
=
"server"
ID
=
"RadGrid1"
>
<
MasterTableView
>
<
Columns
>
<%-- Other columns --%>
<
telerik:GridRowIndicatorColumn
></
telerik:GridRowIndicatorColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
<
telerik:RadGrid
runat
=
"server"
ID
=
"RadGrid2"
>
<
MasterTableView
TableLayout
=
"Fixed"
>
<
Columns
>
<%-- Other columns --%>
<
telerik:GridTemplateColumn
>
<
HeaderStyle
Width
=
"1px"
/>
<
ItemTemplate
></
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>