Hi Good day to All,
I would like to ask how to specify column names which will
appear on "Columns" part of the radgrid Excel Filter menu.
We have a checkbox template column and we don't want it to
be included in the list. as for the other columns they are auto generated.
thanks in advance
here the code for rad grid
<
telerik:RadGrid
ID
=
"rgTestGrid"
runat
=
"server"
AutoPostBackOnFilter
=
"true"
Skin
=
"Silk"
Width
=
"100%"
Height
=
"100%"
EnableViewState
=
"false"
AllowPaging
=
"true"
AllowSorting
=
"True"
GridLines
=
"None"
AllowMultiRowSelection
=
"False"
AllowFilteringByColumn
=
"true"
FilterType
=
"HeaderContext"
EnableHeaderContextMenu
=
"true"
EnableHeaderContextFilterMenu
=
"true"
CssClass
=
"table_RadGrid"
Style
=
"overflow-y: hidden; width: 150%; border-left-width: 1px; margin-right:100px"
HeaderStyle-BackColor
=
"#5897ce"
HeaderStyle-Font-Size
=
"13px"
HeaderStyle-BorderColor
=
"#1e486d"
HeaderStyle-Font-Bold
=
"true"
HeaderStyle-ForeColor
=
"White"
HeaderStyle-CssClass
=
"Header-Grid-Banking Checkbox-Grid-Banking"
>
<
MasterTableView
AllowMultiColumnSorting
=
"true"
TableLayout
=
"Fixed"
CommandItemSettings-ShowExportToExcelButton
=
"true"
CommandItemSettings-ShowRefreshButton
=
"True"
CommandItemSettings-ShowExportToPdfButton
=
"True"
CommandItemSettings-ShowExportToWordButton
=
"True"
CommandItemSettings-ShowExportToCsvButton
=
"True"
>
<
Columns
>
<
telerik:GridTemplateColumn
ReadOnly
=
"true"
UniqueName
=
"CheckBoxTemplateColumn"
EnableHeaderContextMenu
=
"true"
Visible
=
"true"
>
<
ItemTemplate
>
<
telerik:RadCheckBox
ID
=
"Chk2"
runat
=
"server"
OnClick
=
"rbWPFileName_OnCheckedChanged"
AutoPostBack
=
"true"
/>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
<%--<
Columns
>
<
telerik:GridDateTimeColumn
DataField
=
"OrderDate"
HeaderText
=
"Date"
UniqueName
=
"Date"
DataType
=
"System.DateTime"
SortExpression
=
"Date"
DataFormatString
=
"{0:MM//dd/yy}"
></
telerik:GridDateTimeColumn
>
</
Columns
>--%>
</
MasterTableView
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"True"
UseClientSelectColumnOnly
=
"true"
/>
</
ClientSettings
>
</
telerik:RadGrid
>