Focus()

I am using Gridcontrol in a form. How to set the focus back to grid in form_Closing event? Ragrds Ravi

1 Reply

AD Administrator Syncfusion Team May 19, 2006 03:52 AM UTC

Hi Ravi, Try this code to set the focus of the cell in a grid. Here is a code snippet. this.gridControl1.Focus(); this.gridControl1.CurrentCell.BeginEdit(true); Please let me know if this helps. Best Regards, Haneef

Loader.
Up arrow icon