Treeview on ASP pages

Results 1 to 2 of 2

Thread: Treeview on ASP pages

  1. #1
    abu Guest

    Default Treeview on ASP pages

    I have a page with 3 frames.on left frame, i show a page which has a tree view to list all folders.When i click on any folder, in the other frame i want a different page to get loaded.i am trapping the nodeclick event of treeview.what is happening is the new page comes up but in a new does not load on the other frame as i want.i am including the code below<BR><BR>&#060;script language=vbscript&#062;<BR><BR>Sub TreeView1_nodeclick(node)<BR> msgbox node<BR> if node="Test2" then <BR> "first.asp"<BR> elseif node="Test3" then<BR> "second.asp" <BR> end if <BR>end sub<BR>&#060;/script&#062;<BR><BR>i need to set the target for the new page to a frame on the main page which contains all the frames.

  2. #2
    Selvi Guest

    Default RE: Treeview on ASP pages

    Instead of try with href itself along with target tag.<BR><BR>&#060;a href="first.asp" target="nameofframe"&#062;&#060;/a&#062;<BR><BR>Hope it helps,<BR><BR>Selvi.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts