This is a migrated thread and some comments may be shown as answers.

RadButton Focus

5 Answers 161 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Luciano Broussal
Top achievements
Rank 1
Luciano Broussal asked on 03 Mar 2010, 09:50 AM
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

5 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 08 Mar 2010, 01:59 PM
Hi Luciano,

Thank you for contacting us.

Actually this is a known problem with Silverlight controls. The MouseOver value is not synchronized to the mouse position when the control become visible.

To visualize the problem you can try the attached example. In WPF everything is OK but in Silverlight its pretty good visible. All the controls (RadButton,  standard SL Button and TextBox) in the test application behave in this manner. Please note we are setting the focus in code behind just to facilitate your test.

Of course if you find a way to fight the issue we will highly appreciate to get a sample.

Sincerely yours,
Ivan
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
Luciano Broussal
Top achievements
Rank 1
answered on 09 Mar 2010, 03:19 PM
Hi Ivan,

Thank you for your explaination and sample

Do you know when you will have this bug fix ?
If so do you have a release date for this fix please.

I can read you mention basic Silverlight native widget buttons like  have the bug too.  Does it meand Telerik Buttons suffer of native silverlight bugs about focusing feature or this is a pure Telerik problem?

What could be a rescue solution to avoid this because user experience is really bad since the end user has the feeling becoming mad by missing some clicks.

Let me know.

Thank you for your great support.

Regards.

Luciano
0
Ivan
Telerik team
answered on 11 Mar 2010, 04:52 PM
Hi Luciano,

Yes this is an inherited feature from the Silverlight framework. Unfortunately we have not a workaround.

Greetings,
Ivan
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
Igor
Top achievements
Rank 1
answered on 16 Sep 2010, 01:34 PM
Was it fixed in last release?
0
Tina Stancheva
Telerik team
answered on 21 Sep 2010, 03:42 PM
Hi Igor,

Unfortunately as Ivan said, the issue is inherited from the Button control, and since the RadButton inherits the Button control, we cannot do much about it.

I hope this isn't a showstopper for you.

Kind regards,
Tina Stancheva
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
Tags
Buttons
Asked by
Luciano Broussal
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Luciano Broussal
Top achievements
Rank 1
Igor
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or