Limiting the text length in RadGridView's cell
|
Article relates to
|
RadControls for WinForms Q2 2009 SP1
|
|
Created by
|
Martin Vassilev
|
|
Last modified
|
Oct 1, 2008
|
|
Last modified by
|
Nikolay Diyanov
|
HOW-TO
Limit the text length in RadGridView's text column when it is in edit mode
SOLUTION
If you need to limit the text length when typing a new value in a text column cell, the best way is to prevent the user from typing more symbols than allowed. This can be done by setting the
MaxLength property
of RadTextBoxEditor's RadTextBoxEditorElement:
VB code:
C# code:
Comments
If you'd like to comment on this KB
article, please, send us a
Support Ticket.
Thank you!
Please
Sign In
to rate this article.