I need to catch double click, on a row, on the server side.
I couldnt find double click event.
Hello drpoalim,
There is a similar forum thread to this one - http://ko.infragistics.com/community/forums/t/58083.aspx where we have explained that this event could be simulated by handling the client side double click and making a postback manually with an argument which will show that this is a double click postback on the server - http://aspalliance.com/895_Understanding_the_JavaScript___doPostBack_Function.2
Thaks.
It works.
Do you know, if I can attach the doubleclick to the client side function with JQuery?
Something like:
$(document).ready(function () { $("#WebDataGrid1").ClientEvents-DoubleClick(function (sender, eventArgs) { WebDataGrid1_Grid_DoubleClick(sender, eventArgs); }); });
You can wrap the grid into a div and capture click on it. However this is not reccomened because our grid is designed so that it has its own events like single and double click which would be called anyway. What are your concerns in using our built-in ?
I try to reduce Javascript in the code.
But Thats fine.
Thanks.