Hi,
I am trying to set filter true on two gridbound columns of the radgrid which has dataformatstring to it. But the filtering doesnt seem to work. Here is the code for the columns. This should be something simple but still couldn't find out. Really appreciate some help. Thanks.
Filter works fine in the first one.
=======================
<telerik:GridBoundColumn DataField="divName" DataType="System.String" HeaderText="Division Of Admin"
Visible="true" HeaderStyle-Width="13%" FilterControlWidth="65%" SortExpression="divName"
UniqueName="divName" AllowFiltering="true" AutoPostBackOnFilter="true" ShowFilterIcon="false">
</telerik:GridBoundColumn>
Filter doesnt work
==============
<telerik:GridBoundColumn DataField="eventDt" DataFormatString="{0:MM-dd-yyyy}" HeaderText="Event Date" Visible="true" HeaderStyle-Width="15%"
FilterControlWidth="65%" SortExpression="eventDt" UniqueName="eventDt" AllowFiltering="true" AutoPostBackOnFilter="true" ShowFilterIcon="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="startTime" DataFormatString="{0:t}" HeaderText="Event Time" Visible="true" HeaderStyle-Width="15%"
FilterControlWidth="65%" SortExpression="startTime" UniqueName="startTime" AllowFiltering="true" AutoPostBackOnFilter="true" ShowFilterIcon="false">
</telerik:GridBoundColumn>
I am trying to set filter true on two gridbound columns of the radgrid which has dataformatstring to it. But the filtering doesnt seem to work. Here is the code for the columns. This should be something simple but still couldn't find out. Really appreciate some help. Thanks.
Filter works fine in the first one.
=======================
<telerik:GridBoundColumn DataField="divName" DataType="System.String" HeaderText="Division Of Admin"
Visible="true" HeaderStyle-Width="13%" FilterControlWidth="65%" SortExpression="divName"
UniqueName="divName" AllowFiltering="true" AutoPostBackOnFilter="true" ShowFilterIcon="false">
</telerik:GridBoundColumn>
Filter doesnt work
==============
<telerik:GridBoundColumn DataField="eventDt" DataFormatString="{0:MM-dd-yyyy}" HeaderText="Event Date" Visible="true" HeaderStyle-Width="15%"
FilterControlWidth="65%" SortExpression="eventDt" UniqueName="eventDt" AllowFiltering="true" AutoPostBackOnFilter="true" ShowFilterIcon="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="startTime" DataFormatString="{0:t}" HeaderText="Event Time" Visible="true" HeaderStyle-Width="15%"
FilterControlWidth="65%" SortExpression="startTime" UniqueName="startTime" AllowFiltering="true" AutoPostBackOnFilter="true" ShowFilterIcon="false">
</telerik:GridBoundColumn>