Me.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.ColumnFilterAdded = "WDG1_ColumnFilterAdded"
this.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.ColumnFilterAdded = "WDG1_ColumnFilterAdded";
// The client event ColumnFilterAdded takes two parameters sender and e // sender is the object which is raising the event // e is the ColumnFilterAddedArgs function WDG1_ColumnFilterAdded(sender, e) { //Gets the column filter object that need sto be added var filter = e.get_columnFilter(); //Gets the key of the column that the column filter is tied to var columnKey = filter.get_columnKey(); //Rule and value based filtering condition that will apply to the ControlDataField which the ColumnFilter is tied to. var condition = filter.get_condition(); //Gets the rule applied on the filter var rule = condition.get_rule(); window.status = "Filtering is done on the column '" + columnKey + "'"; }