When I set the command to an ApplicationCommand or an EditingCommand for a button within a standard
ToolBar as follows:these commands fire correctly for text contained within a RichTextBox.<
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
>
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?
7 Answers, 1 is accepted
0
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
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
0
Rayne
Top achievements
Rank 1
answered on 21 Apr 2011, 02:48 PM
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.
0
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
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
0
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
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
0
Rayne
Top achievements
Rank 1
answered on 27 Apr 2011, 03:41 PM
Thank you for the quick response!! I'll be looking out for it.
0
Hi Rayne,
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
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
0
Rayne
Top achievements
Rank 1
answered on 11 May 2011, 04:14 PM
Thank you!