GotFocus event problem

2 posts, 0 answers
  1. Alexey
    Alexey avatar
    79 posts
    Member since:
    Oct 2008

    Posted 15 Jun 2009 Link to this post


    We are using Silverlight 3 beta 1 (1529 build)

    On the page we have two instances of usercontrol with telerik treeview and microsoft datagrid inside. User contols are placed into stack panel with horizontal alignment.

    Left user control                  Right user control
    | TreeView  & Datagrid |      | TreeView  & Datagrid |

    We want to use getfocus event of this usercontrols, but on the first click to the right usercontrol gotfocus event fires for both.

    On the left usercontrol, event was fired two times. At first time event was fired by radtreeview and then by selected treeview item. But it should not fire at all.

    If we will click left usercontrol, right user control won't rise the event.

    Alexey Zakharov.
  2. Bobi
    Bobi avatar
    513 posts

    Posted 17 Jun 2009 Link to this post

    Hi Alexey,

    Please find attached a sample project that shows how to use GotFocus() event.

    If you debug the project and take a look at the Output window you will see a  message that explain which control was focused.

    Please let us know if you still have any other questions.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top