index | search | no replies | posting guidelines | help login | register
Index » General » Site & Forum Feedback
search this forum:
:: Treeview Control: expand all :: (4)Post a New Message | Post a Reply
Sep 9 2005, 2:01 AM
 Treeview Control: expand allPost a Reply
 GaziYucel

View this author's profile Send this author a private message

since: Sep 9, 2005
from: Netherlands

Hi,

Is it possible to expand the whole tree and keep it that way?

Thanks

Gazi

Sep 9 2005, 11:24 AM
 Re: Treeview Control: expand allPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

The nodes are closed (i.e. hidden) because the CSS style for the UL tag is set originally to display:none;
You can change that into display:block; if you want them to be all opened initially.




-------------------------
Ghost
Aug 28 2007, 11:47 PM
 Re: Treeview Control: expand allPost a Reply
 ehsan4u

View this author's profile Send this author a private message Visit author's homepage

since: Aug 28, 2007
from: uae

please can you tell how to expand in simple asp tree view

Aug 30 2007, 10:38 AM
 Re: Treeview Control: expand allPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

If you mouse-over the node you want opened on page load, you will see the javascript function call that opens the node. All you have to do is to call that same function on page load

for example - I call mine using the function call below at the end of my page

<script>
    //note: if your treeview is using an ID
    //your function will be toggleYOURID

    toggle("N0_2","P02");
</script>



-------------------------
Ghost
Pages: (1)   [1]

search this forum: