Set expanded item to top of current view

2 posts, 0 answers
  1. Ben
    Ben avatar
    5 posts
    Member since:
    Aug 2010

    Posted 18 Aug 2010 Link to this post

    Hello,

    I'm having troubles concerning the following:

    I have a customized RadTreeView, containing a lot of sub items. This implies the vertical scrollbar in my application...

    However, when a user clicks a Item, it expands (like expected) but I would like to place the current expanding item on top of the screen so the user has a clear overview of what is inside the expanded item.

    At this moment, the subitem expands but just does this vertically, without taking into account that the user would want to see its contents immediately... Is this possible with the TelerikControls?


    Thanks in advance...

    Greetings,
    Ben
  2. Ben
    Ben avatar
    5 posts
    Member since:
    Aug 2010

    Posted 18 Aug 2010 Link to this post

    I managed to solve the problem by finding a previous post concerning this issue :-)

    I found my help in following post: http://www.telerik.com/community/forums/silverlight/treeview/scroll-down-automatically-after-a-item-is-expanded.aspx

    I was handling the TransformToVisual incorrectly... Key was to add an invisible border around my TreeView and then transoms the element to the border and fetch that point...

    Greetings,
    Ben
Back to Top