This is a migrated thread and some comments may be shown as answers.
set_cancel(true) not working from HeaderContextMenuFilter
1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 04 Jun 2010, 09:20 PM
    else if (gridCommand == "HeaderContextMenuFilter") {  
        args.set_cancel(true); 
Hello Telerik team,

I have a RadGrid with ContextMenu and ColumnFiltering enabled.  The grid is bound using client-side ADO.Net DataService.
I have a client side OnCommand event handler that traps the HeaderContextMenuFilter event and saves the filter argument for use later.

I call args.set_cancel(true)  because I do not want the postback to fire.

However, the postback is firing anyway????  What am I missing?

Thanks
Bob

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 07 Jun 2010, 01:46 PM
Hello Bob,

I suspect that the behavior is the same as explained on forum thread that you have submitted.

Regards,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or