This is a migrated thread and some comments may be shown as answers.

Enter at the end caused Silverlight to hang

4 Answers 25 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Michael MSTG
Top achievements
Rank 1
Michael MSTG asked on 08 Dec 2011, 08:48 PM
I'm not sure if this is going to be easily recreatable or not, however this was easily done on our end.  Here is the XAML of where our RTB exists:
<Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="675" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="150" />
                </Grid.RowDefinitions>
 
                <telerikDocumentsHtml:HtmlDataProvider x:Name="dataProviderOrderDisclaimerDescription"
                                                       RichTextBox="{Binding ElementName=rtb}"
                                                       Html="{Binding Description, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True}" />
                <telerik:RadRichTextBox x:Name="rtb"
                                        AcceptsReturn="True"
                                        AcceptsTab="True"
                                        HorizontalScrollBarVisibility="Disabled"
                                        VerticalScrollBarVisibility="Visible"
                                        IsSelectionMiniToolBarEnabled="True"
                                        IsSpellCheckingEnabled="False"
                                        LayoutMode="Flow"
                                        Grid.Column="0"
                                        Grid.Row="0" />
            </Grid>


1. Add a blank line at the end of the content and persist (ensuring the content goes beyond the visible area of the screen)
2. Reopen the screen and edit some text by opening the context menu and changing its appearance to bold
3. Using only the arrow keys from that position, scroll down to the very bottom of the content.
4. Attempt to scroll back up using the arrow keys and the screen has hung.  At this point, the only thing that can be done is to kill the browser process.

I noticed several times that it appears the scrolling does not scroll all the way to the very bottom. Much like the editor for these posts, it stays just above the very bottom.  I don't know if that is related or not, but what we noticed.

4 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 13 Dec 2011, 02:48 PM
Hi Michael Mstg,

Unfortunately, we were not able to reproduce your problem. Please, send us an example solution of your scenario. In this way we could investigate it and give you more information about the cause, possible workarounds or time-frame of the fix.

Looking forward to your reply.

Greetings,
Vasil
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Michael MSTG
Top achievements
Rank 1
answered on 13 Dec 2011, 03:23 PM
I've sent you what I have as far as code.  The only other thing left really is the content and it is important to ensure the content scrolls off the visible area. 

We are using 2011.1.419.1040 due to other issues.  Again, making sure there is a line break at the very end of the content is what the key is to producing this problem.  Oh well...
0
Boby
Telerik team
answered on 19 Dec 2011, 10:08 AM
Hello Michael Mstg,
Sorry, but we still cannot reproduce the problem at our side. Could you please send us (attached to a support ticket) sample runnable project that reproduces the exception, specifying which browser and Silverlight version you are using?

Please, excuse us for the inconvenience. Looking forward to your reply.

Kind regards,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Michael MSTG
Top achievements
Rank 1
answered on 03 Jan 2012, 04:15 PM
It does turn out that the latest version, 2011.3.1116.1040 fixes the issue.
Tags
RichTextBox
Asked by
Michael MSTG
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Michael MSTG
Top achievements
Rank 1
Boby
Telerik team
Share this question
or