index | search | no replies | posting guidelines | help login | register
Index » General » Site & Forum Feedback
search this forum:
:: Ajax TreeView (ASP) : how to open the tree default :: (7)Post a New Message | Post a Reply
Aug 28 2007, 12:44 PM
 Ajax TreeView (ASP) : how to open the tree defaultPost a Reply
 ehsan4u

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

since: Aug 28, 2007
from: uae

How to make the tree open by default view i am editing the basic tree view ASP
Ajax TreeView (ASP)
http://aspwebsolution.com/articles/xmlrep/ajax_treeview1/index.htm
please help which file and where to edit


Aug 30 2007, 10:47 AM
 Re: Ajax TreeView (ASP) : how to open the tree ...Post a Reply
 ghost

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

from: Washington, DC

The Ajax Tree view loads its content On Demand i.e. when a node is clicked.

The JavaScript function called is loadItems(menu.id)




-------------------------
Ghost
Sep 3 2007, 5:15 AM
 Re: Ajax TreeView (ASP) : how to open the tree ...Post a Reply
 wesdev

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

since: Aug 28, 2007
from: Swindon, UK

Can you get the tree to open in a specific place? I even tried calling loadItems twice in succession with the top node parent and then the next childs parentId. In IE it errors? Im looking to allow the user to navigate elsewhere on the site and then come back to the treeview page with the tree in the same state as when they left? Is this simple?

Any help would be greatly appreciated...

Regards

Wes

Sep 6 2007, 6:15 AM
 Re: Ajax TreeView (ASP) : how to open the tree ...Post a Reply
 ehsan4u

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

since: Aug 28, 2007
from: uae

I tried every thing but it seems impossible to configure this simple asp tree ... please all i want is to open it by default ... it matter of urgency ... please help me configure this tool ... i would surely appreciate it .

Oct 2 2007, 8:53 AM
 Re: Ajax TreeView (ASP) : how to open the tree ...Post a Reply
 J

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

since: Oct 2, 2007
from: France

Hi,

I have the same problem !

I want to open some node on the load of the page.

how do it ?

Thx

Aug 22 2012, 1:06 PM
 Re: Ajax TreeView (ASP) : how to open the tree ...Post a Reply
 NZBilisim

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

since: Aug 22, 2012
from: TR, Turkiye, Yalova

Hi...

solution of the problem...

demo.asp

        <script>
            window.onload = function(){
                buildTree('<%=Request('id')%>','TreeView1');
            }
        </script>


scripts.js

function buildTree(menuidno,id){
    if (!began){
        loading = document.getElementById("Loading")
        document.getElementById(id).style.display = 'none';
        began = true;
    }
    loadItems(menuidno,id)
}



Oct 31 2013, 11:41 PM
 Re: Ajax TreeView (ASP) : how to open the tree ...Post a Reply
 lilianjie

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

since: Oct 31, 2013
from: somewhere

Can you get the shrub to start in a particular place? I even tried RS Gold contacting loadItems twice in sequence with the top node mother or father and then the next child's parentId. In IE it errors? Im looking to
Diablo 3 Gold allow the customer to get around elsewhere on the website and then come returning to
Guild Wars 2 Gold the treeview web page with the shrub in the same condition as when they left? Is this simple?


Pages: (1)   [1]

search this forum: