Multiple rows deleting confirmation

5 posts, 1 answers
  1. Mikhail
    Mikhail avatar
    4 posts
    Member since:
    Dec 2013

    Posted 11 Nov 2014 Link to this post

    Hi
    I have to prompt the user to confirm a delete of row (rows).
    For the single row it is easy via RowsChanging event.
    But it is not the way for multiple rows deliting (in that case confirmation dialog will be shown for every selected row).

    How can I show single confirmation dialog for multiple rows deleting?

    User can delete rows from keyboard as well as from standard content menu.

    ------------------
    Telerik.WinControls version 2014.3.1021.40
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 12 Nov 2014 Link to this post

    Hi Mikhail,

    Thank you for writing.

    You can use the UserDeletingRow for the purpose, which is cancelable event.

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

    Regards,
    Stefan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Mikhail
    Mikhail avatar
    4 posts
    Member since:
    Dec 2013

    Posted 12 Nov 2014 in reply to Stefan Link to this post

    It works, thanks!
  5. Sreenivas
    Sreenivas avatar
    1 posts
    Member since:
    Sep 2016

    Posted 26 Sep Link to this post

    $scope.deleteMultipleRows = function () {
    var grid = $("#feeScheduleGrid").data("kendoGrid");
    $("#feeScheduleGrid").find("input:checked").each(function () {
    grid.removeRow($(this).closest('tr'));
    })
    };

    with above code I'm not able to delete multiple rows at once.

    can any one help me on this.

  6. Dess
    Admin
    Dess avatar
    1607 posts

    Posted 27 Sep Link to this post

    Hello Sreenivas,

    Thank you for writing.  

    I would like to note that this forum is related to the Telerik UI for WinForms suite. Feel free to post your questions regarding other products in the relevant forum: http://www.telerik.com/forums

    Thank you

    Regards,
    Dess
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top
UI for WinForms is Visual Studio 2017 Ready