I have textbox that directly has nothing to do with radgrid on the same page.
Textbox has this:
For some strange reason when I press Enter being inside this textbox, after executing mentioned method,
_OnCommand grid event is fired! And command name there is 'Sort'!
As a result, I get unpredictable results and double call of webservice.
I tried to disable _OnCommand event firing with different grid properties, but vain.
How to get rid of this OnCommand triggering and why, after all, it's triggered?
UPDATE: it happens in Firefox, not in IE(9). Chrome is also ok.
Textbox has this:
$('#" + filterControl.ClientID + @"').live('keydown', function(event) { if (event.keyCode && event.keyCode == '13') { return jsApplyFilterAction" + ParameterSetHolder.Group + @"(); } else { return true; } });jsApplyFilterAction**** - method, that calls webservice for filling the grid and making some other things.For some strange reason when I press Enter being inside this textbox, after executing mentioned method,
jsApplyFilterAction, that is ok,_OnCommand grid event is fired! And command name there is 'Sort'!
As a result, I get unpredictable results and double call of webservice.
I tried to disable _OnCommand event firing with different grid properties, but vain.
How to get rid of this OnCommand triggering and why, after all, it's triggered?
UPDATE: it happens in Firefox, not in IE(9). Chrome is also ok.