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
280
UltraTextEditor display is invalid after switching ReadOnly from False To True
posted

Hello All,

I'm using the UltraTextEditor in a VB.NET application to display a piece of data that is only editable for new records.  After the user has entered the data and it is saved to the database the ReadOnly property of the control is set to true.  When this happens the UltraTextEditor gets in a state where it looks like it has an appearance that is a cross between ReadOnly and ReadWrite.  If the user clicks on the control the text goes blank, but the appearance appears to be ReadOnly = True and if the user tabs off the control the correct text is then displayed. 

Is this some Appearance side affect or is there some other property I need to change or method I need to call after changing the ReadOnly property?  I've tried calling the Refresh method on the control with no noticeable affect.

I'm using the Infragistics 14.1 Win CLR4x in VB.Net in Visual Studio 2010.

Thanks,

Parents
No Data
Reply
  • 18495
    posted

    Hello Jamie,

    Thank you for contacting Infragistics.

    I created the attached sample project to test this behavior.  When I enter text in the editor and then click the button, the editor switches to ReadOnly mode without any issues.

    I'd like you to compare my sample to yours and modify my sample so it reproduces the issue.

    TextEditorReadOnlyTest.zip
Children