I have created a radgrid and have set it's view state mode to disabled. Problem is it generates an extra 'select' column and cannot seem to remove it. If I remove the view state then the column disappears.
Tried setting the columns auto generate to false yet it remains persistant. Also tried forcing it to be invisible as follows...
Yet it remains there.
What can I do to remove it please?
Pasted my code below. Thanks in advance for your help.
Tried setting the columns auto generate to false yet it remains persistant. Also tried forcing it to be invisible as follows...
<
telerik:GridClientSelectColumn
UniqueName
=
"ClientSelectColumn"
visible
=
"false"
/>
Yet it remains there.
What can I do to remove it please?
Pasted my code below. Thanks in advance for your help.
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowPaging
=
"True"
GridLines
=
"None"
AllowFilteringByColumn
=
"True"
AllowSorting
=
"True"
Height
=
"300px"
PageSize
=
"7"
OnItemDataBound
=
"RadGrid1_ItemDataBound"
ViewStateMode
=
"Disabled"
OnDataBound
=
"RadGrid1_DataBound"
AutoGenerateColumns
=
"false"
SelectedItemStyle-Width
=
"0px"
CellSpacing
=
"0"
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"CODE"
HeaderText
=
"Code"
ReadOnly
=
"True"
SortExpression
=
"
CODE"
UniqueName
=
"CODE"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"NAME"
HeaderText
=
"Code"
ReadOnly
=
"True"
SortExpression
=
"NAME"
UniqueName
=
"NAME"
>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"True"
UseClientSelectColumnOnly
=
"false"
/>
<
ClientEvents
OnRowSelected
=
"RowSelected"
/>
</
ClientSettings
>
</
telerik:RadGrid
>