I'm using the Q1, 2009 distribution of the RadGrid. I have a GridTemplateColumn that looks like so:
<radG:GridTemplateColumn UniqueName="Reg" HeaderText="Reg" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains">
<ItemStyle Width="60px" HorizontalAlign="Right" />
<HeaderStyle Width="60px" />
<ItemTemplate>
<%# Eval("wk1_Regular", "{0:0.00}") %>
<br />
<%# Eval("wk2_Regular", "{0:0.00}")%>
</ItemTemplate>
</radG:GridTemplateColumn>
What I want to occur is that when the user enters, say, 16 in to the filter text box, I want the grid be populated with rows where EITHER wk1_Regular OR wk2_Regular have the value 16.
No matter what I try, I cannot get filtering to work. When I hit enter in the filter textbox, or click the Contains filter menu item, it initiates a call to the server, and fires the ItemCommand event, but the resultant data is never filtered. Do you have an example of how this should be properly implemented?
Thanks.
<radG:GridTemplateColumn UniqueName="Reg" HeaderText="Reg" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains">
<ItemStyle Width="60px" HorizontalAlign="Right" />
<HeaderStyle Width="60px" />
<ItemTemplate>
<%# Eval("wk1_Regular", "{0:0.00}") %>
<br />
<%# Eval("wk2_Regular", "{0:0.00}")%>
</ItemTemplate>
</radG:GridTemplateColumn>
What I want to occur is that when the user enters, say, 16 in to the filter text box, I want the grid be populated with rows where EITHER wk1_Regular OR wk2_Regular have the value 16.
No matter what I try, I cannot get filtering to work. When I hit enter in the filter textbox, or click the Contains filter menu item, it initiates a call to the server, and fires the ItemCommand event, but the resultant data is never filtered. Do you have an example of how this should be properly implemented?
Thanks.