Skip to content

Replies

0
Pete
Pete answered on Aug 9, 2013 9:29 PM

The issue was I was setting the wrong ID when creating the provider. I needed to set <ig:TextEditorProvider ID="ShortDescription"> and use that in the code-behind.

<EditorProviders>
<ig:TextEditorProvider ID="ShortDescription">
<EditorControl ID="ShortDescriptionA" MaxLength="9">
</EditorControl>
</ig:TextEditorProvider>
</EditorProviders>

0
Pete
Pete answered on Aug 9, 2013 9:15 PM

Was there ever a resolution to this? If I create the TextEditorProvider at run-time, the MaxLength property does not work, but the textbox at least lines up correctly. However, if I create the TextEditor at design time, the MaxLength rule works, but the textbox appears all the way to the left when I click on the appropriate field, then moves to the top left corner when I click off the field. Please advise. Thank you.