index | search | no replies | posting guidelines | help login | register
Index » General » Site & Forum Feedback
search this forum:
:: URL openend in right frame after clicking treeview ::    show all messagesPost a New Message | Post a Reply
Jan 13 2006, 5:48 AM
 Re: URL openend in right frame after clicking t...Post a Reply
 ghost

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

from: Washington, DC

You can control the target page by adding a target property to your node.
e.g. in the LoadFromDB routine, you can set the target everytime you create the child node as follows:

Public Sub LoadFromDB(strConn,strMenuTable)
    ...

    If Not RS.EOF Then
        Do While Not
RS.EOF
                parentid=RS("ParentID")
                
                Dim child                
                Set child = New Node
                Call child.Init(RS("Text"),RS("URL"),RS("ToolTip"))
                child.ID = RS("MenuID")

               'Add the following line
                child.Target = "right" 'or your target page name

                ...
            Loop
    End If


    ...
End Sub



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

search this forum: