Hi,
I'm using RadButton to open a form to create a new entity in our application
<telerik:RadButton x:Name="XXXXX" ToolTipService.ToolTip="Create" Click="XXXXX_Click" HorizontalContentAlignment="Center" Margin="1" Width="60" VerticalContentAlignment="Center">
<telerik:RadButton.Content>
<StackPanel Orientation="Horizontal" Margin="0">
<Image Source="{Binding Source, Source={StaticResource NewButtonImage}}"/>
<TextBlock Text="New" Foreground="#2b2b2d" Margin="1 0"/>
</StackPanel>
</telerik:RadButton.Content>
</telerik:RadButton>
NewOrderButton_Click open a form => set the XXXXX button visibility to Collapsed
when i've finished to edit the form or cancel its edition i show again the new button to the user (set the XXXXX button visibility to Visible) but it's visual state is stayed like when it got the focus :(
the consequence each button i clicked once in the application stay with the focus display state like it is the cas for a normal html page with hyperlinks :(
in the app it seems the buttons don't react on each click i do so i'm wondering if the problem would not come from this strange behavior ...
Thank you for your support to help me to solve the RadButton problem
Luciano
I'm using RadButton to open a form to create a new entity in our application
<telerik:RadButton x:Name="XXXXX" ToolTipService.ToolTip="Create" Click="XXXXX_Click" HorizontalContentAlignment="Center" Margin="1" Width="60" VerticalContentAlignment="Center">
<telerik:RadButton.Content>
<StackPanel Orientation="Horizontal" Margin="0">
<Image Source="{Binding Source, Source={StaticResource NewButtonImage}}"/>
<TextBlock Text="New" Foreground="#2b2b2d" Margin="1 0"/>
</StackPanel>
</telerik:RadButton.Content>
</telerik:RadButton>
NewOrderButton_Click open a form => set the XXXXX button visibility to Collapsed
when i've finished to edit the form or cancel its edition i show again the new button to the user (set the XXXXX button visibility to Visible) but it's visual state is stayed like when it got the focus :(
the consequence each button i clicked once in the application stay with the focus display state like it is the cas for a normal html page with hyperlinks :(
in the app it seems the buttons don't react on each click i do so i'm wondering if the problem would not come from this strange behavior ...
Thank you for your support to help me to solve the RadButton problem
Luciano