I am able to assign the .Text property of the UltraTextEditor to a length greater then 32K but when I attempt to retrieve the Text I get the error:
System.NullReferenceException: Object Reference not set to an instance of an object
I store a BASE64 encoded image in my database and convert this back to a .NET image at runtime so the user can see the image assigned to the record. Is there a way to retrieve the Text when exceeding 32K?
Hi Roger,
I'm pretty sure this is a limitation of the Inbox TextBox control - which the UltraTextEditor uses or editing.
Out of curiosity, why would you want to display a base64 encoded image as text? What possible use could this be to a user?
The TextBox is hidden and I am simply trapping on the TextChanged event where I then send the base64 encoded image to convert it back to a .NET image for view on the screen. As the user is scrolling through records the image assigned to the record will be displayed.
We need to store as base64 as the record is sent as a message (XML) via a JMS (SonicMQ).