How do I configure the filter menus so they don't auto postback? I want the user to make all the choices and then trigger the filtering on a button click.
Thanks,
Ken
Microsoft MVP [ASP.NET]
1 Answer, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 21 Jul 2009, 03:54 PM
Hello Ken,
To achieve your goal you will need to wire the OnCommand client event and check whether the args.get_commandName() is "Filter". Hence you can cancel the action with calling args.set_cancel(true).
From here you will need to collect the filter expression from args.get_commandArgument(). Thus you will be able to useFilterExpression collection on the client and return the correct filter expression on the server, filter the grid's data and rebind.