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
1110
UltraFormattedTextEditor maximum number of lines and characters
posted

I have to limit the number of lines and characters per line in an UltraFormattedTextEditor. For example: maximum 4 lines and maximum 20 characters per line.

The number of lines is not that difficult, I'm counting the number of crlf's in the keypress event.

But I also want a maximum number of characters per line. I'm having difficulty with this one because I don't know where the user is typing. How can this be done? It's no big deal in itself to check how many characters there are on a line but I would like to prevent the user from entering the character if he tends to exceed the maximum on the line he is typing.

Parents
  • 4618
    posted

    Hello Erik,

    After extensive research, limiting the number of characters per line while limiting the number of lines has been determined to be a new feature request as reproducing this behavior would require re-writing a significant portion of the Editor’s code.  I have sent your feature request directly to our product management team.  Our product team chooses new feature requests for development based on popular feedback from our customer base.  Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.

    We value your input, and our philosophy is to enhance our toolset based on customer feedback.  If your feature is chosen for development, you will be notified at that time.  Your reference number for this feature request is FR13991.

    If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email.  Please include the reference number of your feature request in the subject and body of your email message.  You can reach Developer Support management through the following email address:  dsmanager@infragistics.com

    Thank you for your request.

    Sincerely,
    Chris K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

Reply Children