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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Cell Focus and Locking

Thread ID:

Created:

Updated:

Platform:

Replies:

7668 Oct 5,2003 05:05 AM UTC Oct 6,2003 02:06 AM UTC WinForms 2
loading
Tags: GridControl
Fabrizio
Asked On October 5, 2003 05:05 AM UTC

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 ? Thx Fabrizio

Administrator [Syncfusion]
Replied On October 5, 2003 08:50 PM UTC

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. Stefan

Fabrizio
Replied On October 6, 2003 02:06 AM UTC

Tnx Stefan.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;