I've been working on a way to apply filters in a grid that is grouped but I've come across what may be a bug.
I've got a grid that is grouped on 1 column and I've Implemented the RowFilterApplying Event.This Event picks up which column is being filtered on and add this to a temporary table.This works. It allows me to filter on multiple columns.
However, when I group on a second Column and then try to filter, there is an error.
The FilterEventArgs of the RowFilterApplying Event contains a ActiveColumnFilter property which is the name of the column being filtered, but when grouped on more then one column, this property is null.
Is this a Bug or can I find that information elsewhere?
Hello,
I tried to replicate this issue on my end. I put up a grid bound to SQLDataSource and grouped one column applied filter, and checked the event args in the RowFilterApplying event. The ActiveColumnFilter gave me the correct information. I grouped by another column did the same thing with two different columns and still was getting the correct event arguments.
Could you provide me with more information so that I can see if i missed anything trying to reproduce the issue.
Thanks,
Taz.
I'm so sorry, i had almost forgotten about this. Apparantly I made a mistake in the code used in the Rowfilter, but it works fine now. Thanks for looking for a solution, but it has already been fixed.