RadButton Focus

6 posts, 0 answers
  1. Luciano Broussal
    Luciano Broussal avatar
    6 posts
    Member since:
    Feb 2010

    Posted 03 Mar 2010 Link to this post

    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
  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 08 Mar 2010 Link to this post

    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.
  3. DevCraft banner
  4. Luciano Broussal
    Luciano Broussal avatar
    6 posts
    Member since:
    Feb 2010

    Posted 09 Mar 2010 Link to this post

    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
  5. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 11 Mar 2010 Link to this post

    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.
  6. Igor
    Igor avatar
    6 posts
    Member since:
    Jun 2010

    Posted 16 Sep 2010 Link to this post

    Was it fixed in last release?
  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 21 Sep 2010 Link to this post

    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
Back to Top
DevCraft banner