Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ToolBar > ApplicationCommands and EditingCommands disabled

Not answered ApplicationCommands and EditingCommands disabled

Feed from this thread
  • David avatar

    Posted on Dec 2, 2010 (permalink)

    When I set the command to an ApplicationCommand or an EditingCommand for a button within a standard
    ToolBar as follows:
    <ToolBar>
       <Button Command="ApplicationCommands.Cut" ToolTip="Cut">
          <Image Source="/Project;component/Images/editcut.png"/>
       </Button>
       <Button Command="EditingCommands.ToggleBold" ToolTip="Bold">
          <TextBlock FontWeight="Bold"><Run Text="B"/></TextBlock>
       </Button>
    </ToolBar>
    these commands fire correctly for text contained within a RichTextBox.

    However if I change the ToolBar to a RadToolBar, the buttons are disabled.

    What do I need to do to allow these commands to fire as expected?





    Reply

  • Alex Fidanov Alex Fidanov admin's avatar

    Posted on Dec 8, 2010 (permalink)

    Hi David,

    Thank you for reporting this. I have logged this in our PITS and you can check this issue's progress here.

    All the best,
    Alex Fidanov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF

    Reply

  • Posted on Apr 21, 2011 (permalink)

    Please expedite the resolution for this. My users are pushing for the cut, copy, paste functionality to work properly. And currently all the buttons are disabled. This would help tremendously with the other problem of the context menus not displaying properly inside a RadPane.

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Apr 26, 2011 (permalink)

    Hi Rayne,

    We need some more time in order to investigate this issue and provide you an estimated time when it will be resolved. We 'll write you back tomorrow the latest.Thank you in advance for your patience.

    Kind regards,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Apr 27, 2011 (permalink)

    Hello Rayne,

    We increased this issue`s priority and we'll do our best to have it implemented for the upcoming internal builds.

    Greetings,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Posted on Apr 27, 2011 (permalink)

    Thank you for the quick response!! I'll be looking out for it.

    Reply

  • Miro Miroslavov Miro Miroslavov admin's avatar

    Posted on May 11, 2011 (permalink)

    Hi Rayne,

     The actual problem here is that the ApplicationCommands are working with Input elements (as TextBoxes) if they are in different FocusScope from the Button that holds the Command. The WPF toolbar is different focus scope while our RadToolBar is not. 
    You can easily make like follows: 

    <telerik:RadToolBar FocusManager.IsFocusScope="True">

    I'll also make it by default in the default stlye, because the RadToolbar must be in different FocusScope as well.
    Hope this will help you.

    All the best,
    Miro Miroslavov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Posted on May 11, 2011 (permalink)

    Thank you!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ToolBar > ApplicationCommands and EditingCommands disabled
Related resources for "ApplicationCommands and EditingCommands disabled"

WPF ToolBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]