index | search | no replies | posting guidelines | help login | register
Index » General » Site & Forum Feedback
search this forum:
:: ASP TreeView v2 - Maintaining Session state? ::    show all messagesPost a New Message | Post a Reply
Aug 28 2007, 7:43 AM
 ASP TreeView v2 - Maintaining Session state?Post a Reply
 wesdev

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

since: Aug 28, 2007
from: Swindon, UK

Guys,

I tried building an array of the parentId's as the user clicks through the tree, assigning each parentId to a session variable in the process_request.asp ajax call.

When the user navigates away and comed back it checks to see whether the session is null or not. If not it loops round the loadItems function within the initial buildTree call but when it gets to

current_el = document.getElementById(c)

it fails with a JS error. 'current_el' is not an object.

Is this an IE 6 error as when i echo the value of c with an alert it works fine and traverses the tree to where the user was before?

Can you help or do you know of a better way to maintain the state of the tree in the session?

Any help would be greatly appreciated?

Regards

Wes


Pages: (1)   [1]

search this forum: