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

Validation when leaving the grid

Thread ID:





34482 Sep 9,2005 05:33 PM UTC Sep 12,2005 09:59 AM UTC WinForms 1
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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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