Hi ,
I have about 12-15 buttons in the RadToolBar and when the available display size is low the buttons move to the Overflow Menu, it looks nice. But unfortunately my buttons in the overflow menu wont work. They don't fire the command attached to them. However the buttons which are visible on the Toolbar work fine. Interestingly enough the Click event handler gets fired when the buttons are in the Overflow menu. I can not understand why my Command would not get fired ?
This is my code.
"
"
Any help is greatly appreciated.
Cheers,
Nachiket
I have about 12-15 buttons in the RadToolBar and when the available display size is low the buttons move to the Overflow Menu, it looks nice. But unfortunately my buttons in the overflow menu wont work. They don't fire the command attached to them. However the buttons which are visible on the Toolbar work fine. Interestingly enough the Click event handler gets fired when the buttons are in the Overflow menu. I can not understand why my Command would not get fired ?
This is my code.
"
<
telerik:RadToolBar
x:Name
=
"quickKeyBar"
Grid.Row
=
"0"
telerik:StyleManager.Theme
=
"Metro"
ItemsSource
=
"{Binding Path=UserQuickKeys}"
HorizontalAlignment
=
"Stretch"
Margin
=
"-1 -2 -1 0"
>
<
telerik:RadToolBar.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
telerik:RadButton
Margin
=
"3,0,3,0"
Content
=
"{Binding Path=QuickKeyName}"
Command
=
"{Binding Path=EnterQuickKeyCommand, RelativeSource={RelativeSource AncestorType=UserControl}}"
CommandParameter
=
"{Binding}"
IsEnabled
=
"{Binding Path=IsUserQuickKeyUsable}"
telerik:StyleManager.Theme
=
"Metro"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadToolBar.ItemTemplate
>
"
Any help is greatly appreciated.
Cheers,
Nachiket