New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

OnRowDragging

Updated on Nov 2, 2026

Sys.EventArgs OnRowDragging Property

This event can be used if you want to check the current position of the mouse while the user is still dragging. It can be used to cancel the dragging action on Escape button click:

Fired byRadGrid
Argumentsget_domEvent() - returns the event object representing the mousemove action
Can be canceledNo

Example: Configure the RadGrid row-dragging event

ASP.NET
<ClientSettings AllowRowsDragDrop="true">
    <Selecting AllowRowSelect="true" />
    <ClientEvents OnRowDragging="rowDragging" />
</ClientSettings>

Example: Read the mouse position during row dragging

JavaScript
function rowDragging(sender, args) {
    var event = args.get_domEvent();
    // the current position of the mouse
    var coordinateX = event.clientX;
    var coordinateY = event.clientY;
}
Not finding the help you need?
Contact Support