Lost Tag value on GotFocus Event

3 posts, 0 answers
  1. Catia Alexandra
    Catia Alexandra avatar
    6 posts
    Member since:
    Aug 2010

    Posted 20 Jan 2011 Link to this post

    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. Catia Alexandra
    Catia Alexandra avatar
    6 posts
    Member since:
    Aug 2010

    Posted 24 Jan 2011 Link to this post

    bug ?????
  3. DevCraft banner
  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 25 Jan 2011 Link to this post

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