Hello,
I'm using the codeblock insert code function. Sometimes the string that I'm inserting with the API is maybe 200 lines. It takes a while for it to load. So far I understand that there really isn't anything I can do to optimize this. Can you help to provide an example where I can have the RadProgressBar running while the RadRichTextBox is loading the code. I understand there are two UI threads. Is it possible and can you help me with an example?
The code I'm running is:
Code_Window.InsertCodeBlock(big_string,
new Telerik.Windows.Documents.Model.Code.CodeFormattingSettings(
Telerik.Windows.Documents.Model.Code.CodeLanguages.CSharp));
You can set it up on a button click and initialize the string big_string in the call back. The progress bar can be indeterminate also.
5 Answers, 1 is accepted
Hi Amiel,
You can achive such functionality using a single UI thread by using the Dispatcher to call the InsertCodeBlock() method with a priority lower than the priority of the rendering of the RadProgressBar.
XAML:
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Grid.Row="0">
<ToggleButton Content="Load Content"
Margin="2" Padding="5 2"
Click="LoadContentButton_Click" />
</StackPanel>
<telerik:RadRichTextBox x:Name="radRichTextBox" Grid.Row="1"/>
<Grid Grid.Row="2">
<telerik:RadRichTextBoxStatusBar AssociatedRichTextBox="{Binding ElementName=radRichTextBox, Mode=OneTime}" UseLayoutRounding="True" />
<StackPanel x:Name="progressBarStackPanel"
Visibility="Collapsed"
Orientation="Horizontal"
HorizontalAlignment="Left">
<Label Content="Content loading..." FontWeight="Bold" Foreground="Black" />
<telerik:RadProgressBar x:Name="radProgressBar"
IsIndeterminate="True"
Height="16" Width="150" />
</StackPanel>
</Grid>
private void LoadContentButton_Click(object sender, RoutedEventArgs e)
{
this.progressBarStackPanel.Visibility = Visibility.Visible;
this.Dispatcher.BeginInvoke(new Action(() =>
{
this.radRichTextBox.InsertCodeBlock(code, new CodeFormattingSettings(CodeLanguages.CSharp));
this.progressBarStackPanel.Visibility = Visibility.Collapsed;
}), DispatcherPriority.Loaded);
}
I hope this helps.
Regards,
Martin
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hello,
I tried what you suggested but I don't even see the progress bar. I've tried something similar and had the same result as your suggestion. The insert code call just doesn't allow for any other control to get updated. Basically the entire UI becomes unresponsive.
The code piece I had was about 800 lines and it takes 30 seconds to load. Here is about 800 lines please try and let me know if you are able to see the progress bar because I can't. I tried various levels or priority as well. I hope you can help me with this issue.
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
abcdefghijklmnopqrstuv wxyz abd efg hijklmnop qurs tuf wx yz
Hi Amiel,
I apologize for misleading you. At my end the suggest workaround freezes the UI but the progress bar appears before that. But this happens only the first time, after that, it doesn't appear. We discussed this behavior within the team and the best solution with the current version of the RichTextBox control would be to use a DispatcherTimer. I am attaching the sample project demonstrating this functionality. Please, feel free to modify it in a way closer to your scenario.
Regards,
Martin
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hello,
Due to the tick delay there is enough time to show the progress bar and the text label with content "Loading...", but once the codeblock api is called the progress animations just stops.
1. Is there anyway in WPF to keep that going with two UI threads, similar to a background worker and UI thread, where the UI is still free to respond to clicks etc....
2. Do you have any other suggestions? Might be more responsive if the codeblock could also load chunks and then build up to the whole string that would be more user friendly. Is there any way to do that?
Hello Amiel,
Indeed, this can be achieved by using a second UI thread on which to render a new window, a transparent one, covering the main window, and containing only the progress bar. Check the attached project.
As for inserting the code block divided into chunks, this is currently not supported by the RichTextBox and I logged an item in our backlog to provide such an option: RichTextBox: Provide an option to insert a code block divided into chunks. You can cast your vote for the implementation as well as subscribe to the task by clicking the Follow button so you can receive updates when its status changes.
In appreciation for bringing this to our attention, I updated your Telerik points.
Regards,
Martin
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.