How to set MaxLenght of a edit field, Ihave a string field and i want to set the name field to 50max lenght
Here my definition of field :
<ig:BoundDataField CssClass="Cell_Left" DataFieldName="name" Key="name" Width="300px" />
ig:EditingColumnSetting ColumnKey="name" />
Did the information I provided help you with setting the MaxLength of the field? Please let me know if I may be of any further help.
Hello,
The way to handle this would be to create an EditorProvider for the column and set the max length on that. For more information, please see this forum thread which provides a code example and a sample application.
Please let me know if you have any questions about this approach.