RadRibbonButton NextCommand crashes application when you reach last comment

4 posts, 1 answers
  1. Shubhra
    Shubhra avatar
    7 posts
    Member since:
    Jul 2012

    Posted 16 Nov 2012 Link to this post

    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> 

     

  2. Answer
    Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 19 Nov 2012 Link to this post

    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.

  3. DevCraft banner
  4. Shubhra
    Shubhra avatar
    7 posts
    Member since:
    Jul 2012

    Posted 20 Nov 2012 Link to this post

    Thanks a lot!
    Please let me know once you have a fix.
  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 23 Nov 2012 Link to this post

    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.

Back to Top