Welcome Guest Search | Active Topics | Sign In | Register

TreeView click kills session variables Options
RalphElsaesser
Posted: Friday, July 3, 2009 5:30:35 AM
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
eo_support
Posted: Friday, July 3, 2009 7:33:37 PM
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!
RalphElsaesser
Posted: Sunday, July 5, 2009 4:44:07 PM
Rank: Member
Groups: Member

Joined: 5/12/2009
Posts: 20
You find the site under

http://www.cicos.info/Hydro

1. 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
eo_support
Posted: Sunday, July 5, 2009 8:14:11 PM
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!

eo_support
Posted: Friday, July 10, 2009 11:34:11 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.