This is a migrated thread and some comments may be shown as answers.
how to get tree view height after it has been expanded?
1 Answer 42 Views
This is a migrated thread and some comments may be shown as answers.
khaled jendi
Top achievements
Rank 1
khaled jendi asked on 19 Sep 2010, 02:01 PM
hi,

how to get the height  of tree view after it has been expanded?

and how I can expand inner node from other html button click event?

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 20 Sep 2010, 07:22 AM
Hello,

The following client code shows how to retrieve the exact height of treeview control.

Client code:
function getWidth() {
    var treeView = $find("<%=RadTreeView1.ClientID%>");
    alert("height: " + treeView.get_element().clientHeight);
}


And for expanding the node, get the client object of node and invoke the set_expanded(true) method. The following documentation will help you in this.
Client-Side Programming Basics
RadTreeNode


-Shinu.
Asked by
khaled jendi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or