This is a migrated thread and some comments may be shown as answers.
IsFocused don't works
4 Answers 26 Views
This is a migrated thread and some comments may be shown as answers.
Carsten Jendro
Top achievements
Rank 2
Carsten Jendro asked on 10 Sep 2011, 08:27 PM
I Think there is a Bug in RadNumericUpDown

I have an ErrorTemplate that shows an Info popup when the Control is focused, it dont works with the RadNumericUpDown.

IsFocused is always false.

4 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 14 Sep 2011, 04:09 PM
Hello Carsten Jendro,

We investigated the behavior and it is a bug at our side. We have created a PITS item where you can follow its progress.

Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.


Greetings,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Carsten Jendro
Top achievements
Rank 2
answered on 14 Sep 2011, 07:03 PM
For Other users with the same probelm.

i used  IsKeboardFocusWithin property as a workaround
0
Hammad
Top achievements
Rank 1
answered on 16 Sep 2015, 03:28 PM

IsKeboardFocusWithin also does not work 

there is one more bug

<Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Value" Value="5"></Setter>
                <Setter Property="BorderBrush" Value="Red"></Setter>
            </Trigger>

 

This trigger changes the value to 5 but not the border brush.its been 4 years is it not being fixed yet???

0
Kalin
Telerik team
answered on 18 Sep 2015, 10:01 AM
Hi Hammad,

The IsKeyboardFocusWithin as well as the IsMouseOver properties work as expected. The reason for the observed behavior is that in the ControlTemplate of the control there is a MouseOver VisualState also changing the BorderBrush. Try setting the background instead:

<Trigger Property="IsMouseOver" Value="True">
    <Setter Property="Value" Value="5"></Setter>
    <Setter Property="Background" Value="Red"></Setter>
</Trigger>

However if you need to change the BorderBrush using a Trigger you would need to modify the ControlTemplate in order to remove the the MouseOver VisualState.

Hope this helps.

Regards,
Kalin
Telerik
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 Feedback Portal and vote to affect the priority of the items
Asked by
Carsten Jendro
Top achievements
Rank 2
Answers by
Boyan
Telerik team
Carsten Jendro
Top achievements
Rank 2
Hammad
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or