Hi,
We have an office word template project which opens up a wpf form when the user tries to launch it.
The WPF form has one or more telerik Richtextbox controls. When the user start typing inside the textbox they get the above error.
ie."The dispatcher process has been suspended,but messages are still being processed.".
Even though this error occurs more when user tries to type fast inside the textbox, there are cases this happened even otherwise.
There is no event in our code that gets fired on TextChanged or anything similar.
Has anyone else experienced this? Could someone help me to resolve this?
Many thanks,
Anu
We have an office word template project which opens up a wpf form when the user tries to launch it.
The WPF form has one or more telerik Richtextbox controls. When the user start typing inside the textbox they get the above error.
ie."The dispatcher process has been suspended,but messages are still being processed.".
Even though this error occurs more when user tries to type fast inside the textbox, there are cases this happened even otherwise.
There is no event in our code that gets fired on TextChanged or anything similar.
Has anyone else experienced this? Could someone help me to resolve this?
Many thanks,
Anu
Same issue here. Create VSTO project, add WPF form, add RadAutoCompleteBox. Start typing, watch it auto-suggest, then backspace fast.
VSTO requires .NET Framework. I am testing on 4.8 and latest Telerik.
Code for RadAutoCompleteBox:
<telerik:RadAutoCompleteBox x:Name="SearchAutoCompleteBox" TextBoxStyle="{StaticResource AutoCompleteCustomTextBoxStyle}" MinHeight="28" VerticalAlignment="Center" Width="400" Margin="5" WatermarkContent="Search templates" ItemsSource="{Binding AllTemplates}" TextSearchPath="Name" DisplayMemberPath="Name" NoResultsContent="No Matches" TextSearchMode="Contains" AutoCompleteMode="Suggest" SelectionMode="Single" SelectionChanged="SearchAutoCompleteBox_OnSelectionChanged" > <telerik:RadAutoCompleteBox.DropDownItemTemplate> <DataTemplate> <telerik:RadHighlightTextBlock Text="{Binding Name}" Width="241" HorizontalAlignment="Left" HighlightMode="AllMatches" HighlightBackground="#0099CC" HighlightForeground="White" IsCaseSensitive="False" TextWrapping="Wrap" HighlightText="{Binding RelativeSource={RelativeSource AncestorType=telerik:RadAutoCompleteBox}, Path=SearchText}"/> </DataTemplate> </telerik:RadAutoCompleteBox.DropDownItemTemplate> </telerik:RadAutoCompleteBox>
Issue seems to be caused by this option. I have removed it for now:
HighlightText="{Binding RelativeSource={RelativeSource AncestorType=telerik:RadAutoCompleteBox}, Path=SearchText}"/>
I tested the described scenario in a excel VSTO addin, however I was not able to replicate the described behavior. That is why I am attaching the sample project that I used for testing purposes along with a gif showing my tests.
Can you check out the shared project and see how it differs from the setup on your end? Should you need any further assistance you can modify the project in order to demonstrate your scenario and send it back (you can create a separate forum post or open a new support ticket as this thread was originally for the RadRichTextBox control). This will hopefully allow us to reproduce the same scenario, investigate further and better assist you.