|
Rank: Newbie Groups: Member
Joined: 4/29/2008 Posts: 4
|
I use the slide menu in a dotnetnuke portal. I set "SaveStateCrossPages" property to true and set a cookie name for "StateCookieName" property and it only work in the first time!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Check the ID of the slide menu. In order for SaveStateCrossPages to work, the ClientID of the slide menu must be the same all the time.
|
|
Rank: Newbie Groups: Member
Joined: 4/29/2008 Posts: 4
|
I added a SlideMenu to a module and set "Display Module On All Pages?" for this module, ClientID of the slidemenu is the same all the time but It doesn't work on "SaveStateCrossPages" property I should mention that all of the DotNetNuke pages have been set to "default.aspx" . Don't you think it could make the problem? Meanwhile, I didn't see any cookie file has been generated on any DotNetNuke pages, neither in a simple application that it can run "SaveStateCrossPages" property.
As I said before, it works for the first click on one of the opened link of the Slide menu pane, but for the second one it'll be closed.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
All pages are "default.aspx" doesn't really matter. Can you check whether you have NavigateUrl set? SaveStateCrossPages only works when the menu navigates to another page (It can be the same page with different parameters) due to NavigateUrl. It won't be triggered when the menu raises a server event because view state is supposed to take care of states on that situation.
If the problem persists, we would need to take a look of the problem. You can either post the page online or we can setup a web meeting to take a look.
Thanks
|
|