Hi,
I'd like to customize RadListFilterPopup. I need to display in it only "Available Filters" directly, meens without menu element (attachement 1), like filters in GridViewRowElement. I have to use excel-like filtering instead of clasic GridViewRowElement becouse in some columns I need checkbox list filter which is given in excel-like filtering.
I write below snippet:
void radGridView1_FilterPopupRequired(object sender, Telerik.WinControls.UI.FilterPopupRequiredEventArgs e)
{
RadListFilterPopup popup = (RadListFilterPopup)e.FilterPopup;
var radMenuItems = ((RadMenuItem)popup.Items[1]).Items;
popup.Items.Clear();
popup.Items.AddRange(radMenuItems);
}
It works fine - displays only "Available Filters". But the problem is that after clicking on some element (e.g "Start with" ) the "blue dialog" appears under the filter list, or in another words, filter list isn't closed ( it is closed after click on "blue dialog" ).
So,
1) How can I close filter list, after clicking on one of it element
2) Is there a simpler way to assign only "Available filters" to filter icon (without rest standard content of RadListFilterPopup) - e.g. use another FilterPopup?
thanks in Advance.
I'd like to customize RadListFilterPopup. I need to display in it only "Available Filters" directly, meens without menu element (attachement 1), like filters in GridViewRowElement. I have to use excel-like filtering instead of clasic GridViewRowElement becouse in some columns I need checkbox list filter which is given in excel-like filtering.
I write below snippet:
void radGridView1_FilterPopupRequired(object sender, Telerik.WinControls.UI.FilterPopupRequiredEventArgs e)
{
RadListFilterPopup popup = (RadListFilterPopup)e.FilterPopup;
var radMenuItems = ((RadMenuItem)popup.Items[1]).Items;
popup.Items.Clear();
popup.Items.AddRange(radMenuItems);
}
It works fine - displays only "Available Filters". But the problem is that after clicking on some element (e.g "Start with" ) the "blue dialog" appears under the filter list, or in another words, filter list isn't closed ( it is closed after click on "blue dialog" ).
So,
1) How can I close filter list, after clicking on one of it element
2) Is there a simpler way to assign only "Available filters" to filter icon (without rest standard content of RadListFilterPopup) - e.g. use another FilterPopup?
thanks in Advance.