I need to perform a postback on drag selection. I currently use
OnMouseUp="GridMouseUp(this, event)" on the RadGrid element to call
This works for the drag select case but also does postbacks when clicking on the filter textboxes which I do not want. Is there any way in client code to detect OnMouseUp of a Drag select action?
OnMouseUp="GridMouseUp(this, event)" on the RadGrid element to call
function GridMouseUp(sender, e) {
setTimeout(function () {
var grid = $find(window.gridId);
if (grid != null && grid.get_masterTableView().get_selectedItems().length > 0) {
__doPostBack(window.gridUniqueId);
}
}, 0);
}
This works for the drag select case but also does postbacks when clicking on the filter textboxes which I do not want. Is there any way in client code to detect OnMouseUp of a Drag select action?