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

Grids, Message Boxes and Focus

We have an MDI application using the TabbedMDIManager. MDIChildren have a Syncfusion Databound Grid. I have two children up. I am handling the paste from the clipboard. If the paste gets an error, I Show a message box. I press enter for the message and then an arrow key. Rather than changing to another cell in the grid, it switches to the other mdi child. I parent the MessageBox to this ( and tried to this.grid ). After the Message Box display I also tried grid.Focus(). These approaches did not anchor the focus. Any thoughts?

1 Reply

AD Administrator Syncfusion Team April 2, 2004 03:02 PM UTC

Did not try these as I do not have such a sample set up, but before calling grid.Focus(), you might try calling one or both of these. this.ActiveControl = grid; this.ActiveMdiChild = grid; grid.Focus();

Live Chat Icon For mobile
Up arrow icon