Hello,
I try to implement custom filter control like here. I put a textbox and button into template column and everything now shows fine in filter row. But I need to set custom button which will contain fully custom filter menu. I want it to display when I press the button and send a filter command when menu item is selected. But right now I can't event start built-in filter menu. I tried to add button onclick event like on your demo page, i.e.
$find("RadGrid1")._showFilterMenu("RadGrid1_ctl00", "ContactName", event); return false; __doPostBack('RadGrid1$ctl00$ctl02$ctl02$Filter_ContactName','')
but I always get a JS error here:
So I have 2 questions:
a. Is this possible to display built-in filter menu when clicking on custom button inside a filter template?
b. Is this possible to built a fully custom menu and make it work the same way as built-in?
Thank you.
I try to implement custom filter control like here. I put a textbox and button into template column and everything now shows fine in filter row. But I need to set custom button which will contain fully custom filter menu. I want it to display when I press the button and send a filter command when menu item is selected. But right now I can't event start built-in filter menu. I tried to add button onclick event like on your demo page, i.e.
$find("RadGrid1")._showFilterMenu("RadGrid1_ctl00", "ContactName", event); return false; __doPostBack('RadGrid1$ctl00$ctl02$ctl02$Filter_ContactName','')
but I always get a JS error here:
this._buildFilterMenuItemList(this._filterMenu,f._data.FilterListOptions,f._data.DataTypeName,f._data.CurrentFilterFunction,f);If I translate it to English, it's going to be like "Cannot get a value for _data; it's not defined or has a null value". Something like this.
So I have 2 questions:
a. Is this possible to display built-in filter menu when clicking on custom button inside a filter template?
b. Is this possible to built a fully custom menu and make it work the same way as built-in?
Thank you.