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
12004
Setting the maxlength of the TextEditorProvider.
posted

Setting the maxlength of the TextEditorProvider.

  • 12004
    posted

    Under EditorControl contains the MaxLength property:

    <ig:TextEditorProvider ID="WebDataGrid1_TextEditorProvider2">
     <EditorControl ClientIDMode="Predictable" MaxLength="10">
     </EditorControl>
    </ig:TextEditorProvider>

    This will set a maximum length of 10 characters.

    Within a specific behavior can be set under ColumnSettings:

    <ColumnSettings>
     <ig:EditingColumnSetting ColumnKey="Message" EditorID="WebDataGrid1_TextEditorProvider2" />
    </ColumnSettings>

    Be sure to set the column key to attach with the editor id. In this example sets the Message column for the editor.

    WebDataGrid_CS2.zip