Rad Grid Batch Editing Sorting Issue

3 posts, 0 answers
  1. Rahul
    Rahul avatar
    27 posts
    Member since:
    Jul 2015

    Posted 23 Feb 2016 Link to this post

    Telerik Team,

                I am using rad grid in batch editing mode ,suppose I have added 15 new records to grid and perform sorting on any column then it will lost data(newly added records in grid). I am facing this issue please help me on same. Is there any built in sorting available for edit mode?


  2. Rahul
    Rahul avatar
    27 posts
    Member since:
    Jul 2015

    Posted 25 Feb 2016 in reply to Rahul Link to this post


    Please provide your inputs on this we are still facing this issue , we are waiting for your response.

    Thank you.

  3. Eyup
    Eyup avatar
    3323 posts

    Posted 26 Feb 2016 Link to this post

    Hello Rahul,

    You can use the OnUserAction event handler provided by RadGrid to alert the user that the changes will be lost:

    Some time ago, there was only the OnCommand event handler, which could be used to cancel grid commands on client-side. This would prevent the command to post back to the server, however, some commands like PageSize, Sorting, etc. also contain client-side logic like hiding the pager item and changing the status of the sort icon in the header cell of a column. Therefore, our developers introduced this additional event handler OnUserAction, which primary goal was to provide a convenient way of canceling these commands, which have client-side logic applied in addition to the server-side event raising. It will be fired for these commands: "Page", "Sort", "PageSize", "Filter".

    I hope the clarification was helpful. The one crucial difference you should note that you have to use get_actionName() instead of get_commandName().

    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