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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Validation when leaving the grid

Thread ID:

Created:

Updated:

Platform:

Replies:

34482 Sep 9,2005 05:33 PM UTC Sep 12,2005 09:59 AM UTC Windows Forms 1
loading
Tags: GridControl
Zachery Moneypenny
Asked On September 9, 2005 05:33 PM UTC

I have a grid with, say, 2 columns and 4 rows of editable text boxes. When tabbing from box to box, the CurrentCellValidating event correctly fires as I tab out of the cell, except when I tab from the last cell (lower-right) out of the grid and to the next control on the form (say, a button). 1. Is CurrentCellValidating supposed to fire if you tab from a cell out of the grid control? 2. If not, is there another event that I could hook into to initiate validation on that last cell''s contents when tabbing out of the grid? Thanks in advance for any info.

Administrator [Syncfusion]
Replied On September 12, 2005 09:59 AM UTC

Hi Moneypenny, You could try this: this.gridControl1.Model.Options.WrapCellBehavior = GridWrapCellBehavior.NextControlInForm;. Here is a sample: grridcellvalidation_gc.zip Best Regards, Jeba.

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

;