What happened to CommandBase, UndoableCommandBase, etc.

2 posts, 0 answers
  1. jbaird
    jbaird avatar
    19 posts
    Member since:
    Jul 2012

    Posted 10 Jul 2013 Link to this post

    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?

  2. Boby
    Admin
    Boby avatar
    595 posts

    Posted 11 Jul 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top