|
Rank: Member Groups: Member
Joined: 5/12/2009 Posts: 20
|
I had a VS2008 Treeview on the left contentplaceholder of my master page. By clicking on the treeview's items I navigate to different pages (very common setting). I was using session variables within my application and everything was fine.
Now I replaced the VS2008 treeview by a EO TreeView and suddenly the navigation to the different pages always gives me a new session ID in the Url. It is therefore no longer possible to save any session variables.
To find the error, I added a view hyperlinks on the masterpages contentplaceholder for the navigation to the different site and everything is fine. So it is definitely the EO treeview which causes the problem. And it makes no difference if I switch off the saveStateCrossPages or not.
Any idea?
Thanks!
Ralph
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We are not able to reproduce the problem. Can you create a test project that demonstrates the problem? We will PM you as to where to send the test project.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/12/2009 Posts: 20
|
You find the site under http://www.cicos.info/Hydro1. Just use the tree view to switch between "Stations hydrologiques/Liste" and "Stations hydrologiques/Données". You will see the session variable changing. 2. Open "Stations hydrologiques/Liste" and klick in row "Bangui" on the button "84 Années". This opens the same Window "Stations hydrologiques/Données" but here the session variable remains the same. Ralph
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Thank you very much for the test project. We have confirmed this to be a bug. It only occurs when you use cookieless sessions. We will fix it and provide you an update build as soon as possible. In the mean time, you can temporarily disable cookieless session, or write code to explicit set each TreeNode's NavigateUrl. For example, instead of setting the first TreeNode's NavigateUrl to "~/page1.aspx", you can do:
Code: C#
TreeView1.Nodes[0].NavigateUrl =
TreeView1.ResolveClientUrl("~/page1.aspx");
Note you will need to do this with all nodes. That will allow you to navigate correctly. Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that fixed this issue. Please see your private message for download location.
Thanks!
|
|