For Each gc As GridColumn In dtg.MasterTableView. Columns With gc If . IsBoundToFieldName(strRemoveFilter) Then dtg.MasterTableView.
GetItems(GridItemType. FilteringItem)(0). FireCommandEvent(RadGrid.
HeaderContextMenuFilterCommandName, _ New Triplet(strRemoveFilter, New Pair("NoFilter", ""), New Pair("NoFilter", ""))) End If End With Next This is the code that finally did it :).
Just invoke the Rebind() method of the grid in this case to clear the filter values. Also see how the filters are cleared on this demo.Dick.
I did try the Rebind() method, and to no avail: Exact same results. As for the demo, they clear the entire TableView's filterexpression with "RadGrid1.MasterTableView. FilterExpression = String.
Empty". Which works great if you are totally clearing out the filters, but I need it to evaluate a new FilterExpression based on the currently chosen filters, after removing the selected one. – Nick Spiers Jul 13 '10 at 19:13 I am afraid I cannot be of further help here, you might contact Telerik posting in the forums on their site.
– Dick Lampard Jul 14 '10 at 10:15 Did that too :) Great minds think alike! – Nick Spiers Jul 14 '10 at 10:47.
Asp:ImageButton runat="server" CommandName="removefilter" CommandArgument="corp" ImageUrl="../images/Delete. Protected Sub repFilters_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls. Select Case e.
For Each gc As GridColumn In dtgCorp.MasterTableView. CurrentFilterFunction = GridKnownFunction. AndCurrentFilterFunction = GridKnownFunction.
For Each gc As GridColumn In dtgCorp.MasterTableView. CurrentFilterFunction = GridKnownFunction. AndCurrentFilterFunction = GridKnownFunction.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.