Upon client side binding of a radgrid, the button images do not display if the AllowFilteringByColumn property is set to false. The images do display using the exact same code, if the AllowFilteringByColumn property is set to true.
button images will display on this grid...
...but if the AllowFilteringByColumn is changed to "false", there are no button images. There are a couple radgrids in my project that don't need to have the filter functionality, and don't have the space to waste on an unneeded FilterMenu row. Am I doing something wrong, or is there a work around?
button images will display on this grid...
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SimpleGrid.ascx.cs" Inherits="UserControls_SimpleGrid" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<
script
language
=
"javascript"
type
=
"text/javascript"
src
=
"SimpleGridJs.js"
>
<!-- //
//--></
script
>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowFilteringByColumn
=
"true"
AutoGenerateColumns
=
"False"
>
<
MasterTableView
ClientDataKeyNames
=
"makecode, make"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"makeid"
HeaderText
=
"makeid"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"makecode"
HeaderText
=
"makecode"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"make"
HeaderText
=
"make"
>
</
telerik:GridBoundColumn
>
<
telerik:GridButtonColumn
ButtonType
=
"ImageButton"
ImageUrl
=
"images/technote1.gif"
>
</
telerik:GridButtonColumn
>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
DataBinding
Location
=
"SimpleService.asmx"
SelectMethod
=
"GetDataAndCount"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
...but if the AllowFilteringByColumn is changed to "false", there are no button images. There are a couple radgrids in my project that don't need to have the filter functionality, and don't have the space to waste on an unneeded FilterMenu row. Am I doing something wrong, or is there a work around?