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

Disable Track Changes Warning on Table Resize

2 Answers 74 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 20 Mar 2014, 11:34 AM
Hi,

I have a Rich Text Box with tracking changes enabled which contains a single table from a XAMLDataProvider. When adjusting the column/row widths using the thumbs in the UI i get a confirmation dialog saying "This action will be marked as changed. Do you wish to continue?".

Is there any way to disable this warning?

Many thanks,
Chris

2 Answers, 1 is accepted

Sort by
0
Missing User
answered on 25 Mar 2014, 09:06 AM
Hi Chris,

Thank you for your interest in RadRichTextBox.

If you are going to disable the confirmation dialog, I would suggest you handle the UntrackableCommandExecuting event of the RadRichTextBox and change its Handled state. 

Please take a look at the following code snippet which illustrates how to accomplish this:
...
   this.editor.UntrackableCommandExecuting += editor_UntrackableCommandExecuting;
...
 
void editor_UntrackableCommandExecuting(object sender, UntrackableCommandExecutingEventArgs e)
{
    e.Handled = true;
}

I hope this helps! Let me know how it goes.

Regards,
Yancho
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
Chris
Top achievements
Rank 1
answered on 25 Mar 2014, 02:10 PM
Thanks Yancho, that's exactly what I was looking for.

Chris
Tags
RichTextBox
Asked by
Chris
Top achievements
Rank 1
Answers by
Missing User
Chris
Top achievements
Rank 1
Share this question
or