This is a migrated thread and some comments may be shown as answers.

Drag select postback

1 Answer 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sarthak
Top achievements
Rank 1
Sarthak asked on 11 Oct 2012, 03:16 PM
Hello

I have a radgrid that has drag to select enabled. There is a postback on clicking a row but not when i use drag to select rows. Is there a way to postback on drag select

Any help or other solutions will be appreciated

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 11 Oct 2012, 05:02 PM
Hello,

As per my knowledge with RadGrid it is not possible.
In-addition this type of functionality is vary hard to manage state of RadGrid or any other control.


To fulfill your requirement, RadGrid give another facility.
you can access Selected Drag item by using below code snippet.

protected void RadGrid1_RowDrop(object sender, GridDragDropEventArgs e)
        {
            // Access dragged selected row here
            GridDataItem item = e.DraggedItems[0] as GridDataItem;
        }


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Sarthak
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or