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

[Solved] Lost Tag value on GotFocus Event

2 Answers 62 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Catia Alexandra
Top achievements
Rank 1
Catia Alexandra asked on 20 Jan 2011, 12:21 PM
When i use RadNumericUpAndDown GotFocus the Tag Property is empty, this is because the TextBox inside the Control receive the focus state instead the control.

Solved using  Tag="{TemplateBinding Tag}" on TextBox inside the control usin Style.

Same with TabIndex property.

The OriginalSource parameter is set to TextBox instead the Control.

Is a bug????

 





2 Answers, 1 is accepted

Sort by
0
Catia Alexandra
Top achievements
Rank 1
answered on 24 Jan 2011, 04:33 PM
bug ?????
0
Valeri Hristov
Telerik team
answered on 25 Jan 2011, 09:15 AM
Hello,

Actually, this is the expected behavior - RadNumericUpDown by itself is not focusable, but its TextBox is, hence the OriginalSource property of the focus events is the TextBox, not RadNumericUpDown.

Best wishes,
Valeri Hristov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
NumericUpDown
Asked by
Catia Alexandra
Top achievements
Rank 1
Answers by
Catia Alexandra
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or