Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
How to set MaxLenght of a edit field
posted

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"  />

Parents
No Data
Reply
  • 8421
    Suggested Answer
    posted

    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.

Children