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

RadRibbonButton NextCommand crashes application when you reach last comment

3 Answers 37 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Shubhra
Top achievements
Rank 1
Shubhra asked on 16 Nov 2012, 05:30 PM
I have a control in which I use RadRichTextBox and RadRichTextBoxRibbonUI.
There is a RadRibbonTab which has a document review related buttons. ( Track changes , comment next previous ect)
I my document suppose I have 4 comments and I use "Next" Comment button to navigate, when I reach the last comment the application freezes for 2-3 minutes.
Pop up comes “Do you want to continue searching from begning of document” .When I say Ok the application freezes.

Is it a known issue or can u help me in finding why it might be happening.Please help
       
<telerik:RadRibbonTab Header="Review">
                <telerik:RadRibbonGroup Header="Proofing"> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/EnableSpellCheck.png" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ShowSpellCheckingDialogCommand}" telerik:ScreenTip.Description="Check the spelling of text in the document." telerik:ScreenTip.Title="Spelling" Size="Large" Text="Spell Check" /> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/properties32.png" Size="Large" Text="Show Statistics" Click="StatisticsClick"  /> 
                </telerik:RadRibbonGroup> 
 
                <telerik:RadRibbonGroup Header="Comments"> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/NewComment.png" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=InsertCommentCommand}" telerik:ScreenTip.Description="Add a comment about the selection." telerik:ScreenTip.Title="Insert Comment" Size="Large" Text="New Comment" /> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/DeleteComment.png" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=DeleteCommentCommand}" telerik:ScreenTip.Description="Delete the selected comment." telerik:ScreenTip.Title="Delete Comment" Size="Large" Text="Delete" /> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/PreviousComment.png" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=GoToPreviousCommentCommand}" telerik:ScreenTip.Description="Navigate to the previous comment in the document." telerik:ScreenTip.Title="Previous Comment" Size="Large" Text="Previous" /> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/NextComment.png" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=GoToNextCommentCommand}" telerik:ScreenTip.Description="Navigate to the next comment in the document." telerik:ScreenTip.Title="Next Comment" Size="Large" Text="Next" /> 
                    <telerik:RadRibbonToggleButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/ShowHideComments.png" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleCommentsCommand}" telerik:ScreenTip.Description="Click here to show or hide the comments." telerik:ScreenTip.Title="Show/Hide Comments" Size="Large" Text="Show/Hide Comments" /> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/DeleteAllComments.png" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=DeleteAllCommentsCommand}" telerik:ScreenTip.Description="Click here to delete all of the comments in the document." telerik:ScreenTip.Title="Delete All Comments" Size="Large" Text="Delete All" /> 
                </telerik:RadRibbonGroup> 
 
                <telerik:RadRibbonGroup Header="Track Changes"> 
                    <telerik:RadRibbonToggleButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/TrackChanges.png" Size="Large" Text="Track Changes"  telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleTrackChangesCommand}"/> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/AcceptChange.png" Size="Large" Text="Accept" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=AcceptRevisionCommand}"/> 
                    <telerik:RadRibbonButton LargeImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/32/RejectChange.png" Size="Large" Text="Reject" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=RejectRevisionCommand}"/> 
                    <telerik:RadCollapsiblePanel > 
                        <telerik:RadRibbonButton SmallImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/PreviousChange.png" Size="Medium" Text="Previous" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=GoToPreviousRevisionCommand}"/> 
                        <telerik:RadRibbonButton SmallImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/NextChange.png" Size="Medium" Text="Next" telerik:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=GoToNextRevisionCommand}"/> 
                    </telerik:RadCollapsiblePanel> 
                </telerik:RadRibbonGroup> 
            </telerik:RadRibbonTab> 
        </telerik:RadRichTextBoxRibbonUI> 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Iva Toteva
Telerik team
answered on 19 Nov 2012, 05:48 PM
Hi Shubhra,

We managed to reproduce the issue and will log it for revision.

We have updated your Telerik points as a token of appreciation for the bug report.

Kind regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Shubhra
Top achievements
Rank 1
answered on 20 Nov 2012, 09:50 AM
Thanks a lot!
Please let me know once you have a fix.
0
Iva Toteva
Telerik team
answered on 23 Nov 2012, 03:36 PM
Hello Shubhra,

Here is a PITS issue, which you can use to track our development plans and progress:

You can follow the PITS Issue by its ID: 13564
Public Url: http://www.telerik.com/support/pits.aspx#/public/silverlight/13564

Kind regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
Shubhra
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Shubhra
Top achievements
Rank 1
Share this question
or