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

What happened to CommandBase, UndoableCommandBase, etc.

1 Answer 13 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
jbaird
Top achievements
Rank 1
jbaird asked on 10 Jul 2013, 01:54 PM
We are upgrading from 2011.1.419.1040 and have the following code:

public

 

 

static bool ExecuteCommandPublic(this RadDocument document, CommandBase command, Editor.DocumentCommandContext context)

 

{

 

 

bool flag = command.Execute(context);

 

 

 

if (flag)

 

{

UndoableCommandBase base2 = command

 

as UndoableCommandBase;

 

 

 

if (base2 != null)

 

{

document.History.RecordAction(

 

new HistoryCommandAction(base2, context));

 

}

}

 

 

return flag;

 

}

Notice that in the 2013.1.403.1050, CommandBase, UndoableCommandBase and document.History.RecordAction are not available and I can't find anything on the website that talks about breaking changes.  Can you help?

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 11 Jul 2013, 11:19 AM
Hello John,
We can continue our conversation in the support ticket you opened to ensure better response times.

Regards,
Boby
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
RichTextBox
Asked by
jbaird
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or