Developer forum

Forum » Templates » Navigation with navigationTag disappears

Navigation with navigationTag disappears

Lasse Hove Nielsen
Lasse Hove Nielsen
Reply

I'm having an Issue on DW 9.10.13 with Navigation.RenderNavigation() and the use of RootNavigationTag.

The menu simply disappears (eg. when recycling), but saving the page (with the navigationTag) restores it somhow. When hardcoding RootPageId i the settings it dosen't disappear and pages without navigationTag (eg. the main-menu) also stays...

Any idea to why it behaves this way?

eg of code:

Navigation.RenderNavigation( "navigation/espresso.cshtml", new NavigationSettings()
{
  StartLevel = 4,
  StopLevel = 5,
  ExpandMode = ExpandMode.All,
  RootNavigationTag = "aside",
  Parameters = new Dictionary< string, object >()
  {
    { "id", "aside" }
  }
} )

 


Replies

 
Nicolai Pedersen
Reply

Hi Lasse

The only thing I can see (following the code paths) is that it is some kind of cache sync issue where these tags are not loaded because of something...

Is the issue reproducable? If it is, I will have our QA to try replicate the issue so we can hunt this down...

BR Nicolai

 

You must be logged in to post in the forum