We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DataBOundGrid and MsgBox

Hi Possible bug for you to investigate. Code: grid.beginupdate() msgbox("Hello World") grid.endupdate() grid.refresh() This code causes my applciation to hang nicely. I think it might have something to do with drawing the message box over the top of the grid on my applciation. Regards, Mark

1 Reply

AD Administrator Syncfusion Team August 3, 2004 12:36 PM UTC

You cannot display a Message box while a BeginUpdate is open. You can use code like
grid.beginupdate()
//...
while(grid.Updating)
    grid.CancelUpdate();
msgbox("Hello World")
to make sure there is not an open BeginUpdate when you try to display a MessageBox.

Loader.
Up arrow icon