Hello,
we're programming a functionality to our RadGrids to be able to save current Filter settings to database for each user and to load up those settings again on page re-visit.
We're accessing CurrentFilterFunction/Value of RadGrid.MasterTableView to get the function and value of the filter to save in the database.
And Page_Load we read those functions and values from the database, set the CurrentFilterFunction/Value and compile a FilterExpression. Which all works fine, but when a user changes a filter, let's say in ColumnA from EqualTo to Contains, the CurrentFilterFunction will still hold "EqualTo" when saving, so I'm guessing that those values aren't getting reset on FilterCommand. If I catch the FilterCommand in RadGrids ItemCommand and reset it manually to "" the filtering stops working overall.
Regards
we're programming a functionality to our RadGrids to be able to save current Filter settings to database for each user and to load up those settings again on page re-visit.
We're accessing CurrentFilterFunction/Value of RadGrid.MasterTableView to get the function and value of the filter to save in the database.
And Page_Load we read those functions and values from the database, set the CurrentFilterFunction/Value and compile a FilterExpression. Which all works fine, but when a user changes a filter, let's say in ColumnA from EqualTo to Contains, the CurrentFilterFunction will still hold "EqualTo" when saving, so I'm guessing that those values aren't getting reset on FilterCommand. If I catch the FilterCommand in RadGrids ItemCommand and reset it manually to "" the filtering stops working overall.
Regards