Event fired when row dragged and dropped within gridview?

2 posts, 0 answers
  1. Mike
    Mike avatar
    1 posts
    Member since:
    Oct 2015

    Posted 22 Oct 2015 Link to this post

    Hopefully this is a dumb question with a simple solution.

    I have an unbound gridview with AllowRowReorder enabled. When the user drags and drops a row to reorder the contents of the gridview I want to do something. Is there an event for when this occurs?

  2. Dimitar
    Dimitar avatar
    2983 posts

    Posted 23 Oct 2015 Link to this post

    Hello Mike,

    Thank you for contacting us.

    The RowsChanged event will fire in this case:
    void radGridView1_RowsChanged(object sender, Telerik.WinControls.UI.GridViewCollectionChangedEventArgs e)
        if (e.Action == Telerik.WinControls.Data.NotifyCollectionChangedAction.Move)
            //add your code

    Please let me know if there is something else I can help you with. 
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top