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

scroll to selected node in tree view inside of custom edit form of grid

1 Answer 35 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Joe Kalinowski
Top achievements
Rank 1
Joe Kalinowski asked on 12 May 2010, 07:17 PM
I have a grid with a custom edit form with a tree view. When the custom edit form is loaded, the tree nodes are programatically created based on the grid row being edited. I also programatically select a node based on the grid row being edited. I need to have the tree view scrolled to the selected node when the edit form loads. I'm trying to implement the "selectedNode.scrollIntoView();" method, but I'm having trouble "finding" the tree view from the page that has the grid. Suggestions on how this can be accomplished?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 May 2010, 02:19 PM
Hello Joe,

The code library below describes one method for accessing server controls in a grid template on the client. I hope the code library will help you to get started.
Accessing server controls in a grid template on the client

Thanks,
Princy.
Tags
TreeView
Asked by
Joe Kalinowski
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or