Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for Windows Forms / UltraTextEditor Max Text Length Limit in WinForms

UltraTextEditor Max Text Length Limit in WinForms

New Discussion
Prahalad
Prahalad asked on Jun 25, 2009 4:26 PM

We are able to set 2100000000 as maximum text lenght for an ultratext editor but any character/text that is entered beyond limit of size 13000000 it throws error message. Can you please let us know the maximum length we can set for a ultratexteditor.

Sign In to post a reply

Replies

  • 0
    Matt Snyder
    Matt Snyder answered on Sep 23, 2008 5:09 PM

    I wasn't able to reproduce an error from doing this, but the UltraTextEditor wasn't really designed to handle an extremely large length of text like this.  In fact, the UltraTextEditor uses a .NET TextBox while in edit mode, and it was abysmally slow trying to set the text to a string that long using only a .NET TextBox and no Infragistics components.  What is the error that you are receiving?

    -Matt

    • 0
      Israel
      Israel answered on Jun 25, 2009 12:07 AM

      Hello is there a way to put more than 1024 characters in single line of the UltraTextEditor.

       

      tanks

       

      • 0
        Matt Snyder
        Matt Snyder answered on Jun 25, 2009 2:34 PM

        There is no limit that I am aware of on the number of text items per line.  I'm assuming that you have Multiline set to True, in which case you might consider setting WordWrap to False.

        -Matt

      • 0
        Israel
        Israel answered on Jun 25, 2009 3:56 PM

        thanks for the answer…

        Yes u r rigth, the properties Multiline and WordWrap are set to True and False respectively… and i'm adding text to de control through .AppendText method but onces the line reach 1024 characters continues in the next line, and the control does that only when the focus is set to it. because when it's just filled the line is apparently in one…

        All this is becase i'm currently developing an application that it's writing some thing like a log from a database consulting… so i take the result set and write all te columns in a textbox like a query analyzer but when there are to many columns has this efect.

        any idea

        thank you very moch

        Israel

      • 0
        Matt Snyder
        Matt Snyder answered on Jun 25, 2009 4:26 PM

        Israel,

        This seems to be a limitation of the .NET TextBox.  When the UltraTextEditor goes into edit mode, it positions a TextBox within its bounds for editing, which is why you see the change in behavior when the control gets focus.  I tested this with a standalone TextBox and it started to wrap its text after 1024 characters as well.  The UltraTextEditor, when not in edit mode and set to not wrap its text, does not have this limitation.

        -Matt

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Prahalad
Favorites
0
Replies
5
Created On
Jun 25, 2009
Last Post
16 years, 8 months ago

Suggested Discussions

Created by

Created on

Jun 25, 2009 4:26 PM

Last activity on

Feb 25, 2026 9:46 AM