Multiple time Messagebox Appear Issue in Telerik.WinControls.UI.RadGridView

2 posts, 0 answers
  1. bhumika
    bhumika avatar
    1 posts
    Member since:
    Aug 2019

    Posted 27 Aug 2019 Link to this post

    Hello,

    I am developing one windows application. in one of the page i am using Telerik.WinControls.UI.RadGridView and added Edit and Delete button in grid. While first time my page appears i click on "Delete" button, it shows MessageBox.Show message with confirmation "Yes" and "No" buttons. while i click on No button it works as expected. While i click on "Edit" button it open new form in window and save and close that form. now rebind grid in "Edit" and "Delete" button. Now, if i click on delete button, it asks for MessageBox.show with confirmation "Yes" and "No" buttons. While i click on "No" button message box appear twice. while user clicks on "NO" we called "return". still its not working. Can anyone please help me out for this issue. Need help ASAP.

     

    Thanks.

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3626 posts

    Posted 27 Aug 2019 Link to this post

    Hello, Bhumika,  

    Note that if you need RadGridView to reflect the changes in the DataSource records, your bindable collection and business objects should follow some standards established in .NET in order to notify RadGridView about the changes. Additional information is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/gridview/populating-with-data/reflecting-custom-object-changes-in-rgv 

    Following the provided information, I have prepared a sample project. The confirmation message for deleting a row is shown just once on my end. The attached gif file illustrates the behavior on my end. Am I missing something?

    I have attached my sample project. Could you please specify the exact steps how to reproduce the problem so I can investigate the precise case? Thank you in advance. 

    I am looking forward to your reply.

     

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top