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

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

1 Answer 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
bhumika
Top achievements
Rank 1
bhumika asked on 27 Aug 2019, 08:48 AM

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.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Aug 2019, 12:11 PM

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.
Tags
GridView
Asked by
bhumika
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or