This question is locked. New answers and comments are not allowed.
Hi,
we are working with server side filtering (as described in another article).
Worked well.
We also save and load the filters in a database, which works, too.
The only thing is: the yellow sign in the header will not update correctly.
That's because I add a Eventhandler in the prepare Function of the custom filte:
Unfortunately the "Prepare-method" is called, when the user clicks the first time on the filter symbol. When we load the filters before any customfilter ist poped up, no filter-sign will be updated.
How can I update this sign without opening the custom filter dialog?
Thanks
Berthold
we are working with server side filtering (as described in another article).
Worked well.
We also save and load the filters in a database, which works, too.
The only thing is: the yellow sign in the header will not update correctly.
That's because I add a Eventhandler in the prepare Function of the custom filte:
public void Prepare(GridViewBoundColumnBase column)
{
if (this._domainModelFilter == null)
{
if (_domainModelFilter == null)
return;
_domainModelFilter.PropertyChanged += new PropertyChangedEventHandler(FilterPropertyChanged);
...
}
}
Unfortunately the "Prepare-method" is called, when the user clicks the first time on the filter symbol. When we load the filters before any customfilter ist poped up, no filter-sign will be updated.
How can I update this sign without opening the custom filter dialog?
Thanks
Berthold