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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Databound Grid combobox cell MaxLength

Thread ID:





7416 Sep 24,2003 06:16 PM UTC Sep 24,2003 07:27 PM UTC WinForms 1
Tags: GridControl
Gene Gorokhovsky
Asked On September 24, 2003 06:16 PM UTC

If a gridBoundColumn is based on ComboBox and I set its gridBoundColumn.StyleInfo.MaxLength property, it does not affect the MaxLength of the editable part of the combobox. How do I set the the combobox's MaxLength, so the user is prevented from typing in the value that is too long? Gene Gorokhovsky ------------- Syncfusion.Grid VS.Net 2003, C#

Administrator [Syncfusion]
Replied On September 24, 2003 07:27 PM UTC

Try handling the CurrentCellValidateString and/or the CurrentCellValidating events. Stefan


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

Live Chat Icon For mobile
Live Chat Icon