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.

Validation when leaving the grid

Thread ID:





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

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 05:59 AM

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


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.

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.