Multiple focus

4 posts, 0 answers
  1. ravenger
    ravenger avatar
    7 posts
    Member since:
    Oct 2010

    Posted 25 Sep 2011 Link to this post

    How can I do only one focus in a hierarchical table, rather than the single focus in each child grid? (GridView Custom Hierarchy Template Demo)
  2. ravenger
    ravenger avatar
    7 posts
    Member since:
    Oct 2010

    Posted 02 Oct 2011 Link to this post

    can anybody help me?
  3. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1216 posts

    Posted 05 Oct 2011 Link to this post

    Hi Ravenger,

    Try subscribing to RadGridViews' SelectionChanged events and using the FocusManager.GetFocusedElement() determine whether you have "left" a RadGridView, or you have just selected another item of the same one. Then you may set its SelectedItem to null, considering the results of this check.

    Kind regards,
    Ivan Ivanov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  4. ravenger
    ravenger avatar
    7 posts
    Member since:
    Oct 2010

    Posted 08 Oct 2011 Link to this post

    I understand what you mean, but i dont know how to make this in code. Can you explain this code in a simple example?
Back to Top