I am trying to give a focus by code at a particular cell of my grid like the focus method of vb.net control ( ie textcontrol) to force a user to enter a specific value , but I don't find the correct way to do it.
After that I need to lock the user into this cell until he has entered a correct value.
Is there any body who can help me ?
ADAdministrator Syncfusion Team October 5, 2003 03:50 PM
Call CurrentCell.MoveTo to set focus to a specific cell. If you do this from within Form.OnLoad you should also set ForceCurrentCellMoveTo = true.
To ensure the user is locked in until he enters the correct value handle the CurrentCellValidating event.