I've been trying to implement on demand filtering using a few text boxes and a "Filter" button external to the grid.
I've come across the following code sample for implementing a filter when initializing a band: http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.3/CLR4.0/HTML/WebHierarchicalDataGrid_Enabling_Filtering.html
However, because I'm trying to do so on the fly (i.e., after the grid is already initialized) using a button, it looks like the sample above isn't applicable, and I get a null reference exception when calling filtering.ApplyFilter();
Any hints as to what could be wrong here...?
We are in the same boat!
i.e., experiencing a similar issue, when trying to add external (on the go) filtering to WHDG.So, I would also appreciate a resolution in this regard. Thanks in advance.
Hello!
Did you get any resolution on this one. I can see filtering examples all deal with setting the filtering at design time (in the .aspx page).
Aren't there any examples out there for implementing the grid in code-behind?
Thanks,
Gurj