I have created a simple WPF application that has a button and a RadRichTextBox using most recent 2013 build. The text box is hidden by default (not sure if that has any bearing but it's how the main app works so I'm being consistent).
When the user presses the button the app reads XAML from a text file (~900k) and converts to a RadDocument using the XamlFormatProvider. Total elapsed time is < 2s.
I then set the document of the text box to the resultant document and make the text box visible. The entire UI of the app freezes for about 2 minutes until the text box creates the initial rendering of the document and then freezes for an additional 2 minutes until the scrolling is finished.
I'm happy to share code and data if need be.
How do I work around this?
rjsjr
When the user presses the button the app reads XAML from a text file (~900k) and converts to a RadDocument using the XamlFormatProvider. Total elapsed time is < 2s.
I then set the document of the text box to the resultant document and make the text box visible. The entire UI of the app freezes for about 2 minutes until the text box creates the initial rendering of the document and then freezes for an additional 2 minutes until the scrolling is finished.
I'm happy to share code and data if need be.
How do I work around this?
rjsjr