Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
414
Menu does not get rendered if placed within a LoginView template
posted

If have this markup code in my PageMaster.master:

<asp:LoginView ID="LoginViewMenu" runat="server">
<LoggedInTemplate>
 
<ignav:UltraWebMenu ID="AppMenu" runat="server" ImageDirectory="~/ig_res/" JavaScriptFilename="" JavaScriptFileNameCommon="" LeafItemImageUrl="" ParentItemImageUrl="" StyleSetName="">
 
<ignav:Items>
   
<ignav:Item Text="Home"></ignav:Item>
   
<ignav:Item Text="SBD"></ignav:Item>
 
</ignav:Items>
  <ignav:Levels>
   
<ignav:level index="0"></ignav:level>
 
</ignav:Levels>
</ignav:UltraWebMenu>
</LoggedInTemplate>

<AnonymousTemplate>
<ignav:UltraWebMenu ID="AppMenu" runat="server" ImageDirectory="~/ig_res/" JavaScriptFilename="" JavaScriptFileNameCommon="" LeafItemImageUrl="" ParentItemImageUrl="" StyleSetName="">
 
<ignav:Items>
   
<ignav:Item Text="Home"></ignav:Item>
   
<ignav:Item Text="Login"></ignav:Item>
  <ignav:Levels>
   
<ignav:level index="0"></ignav:level>
 
</ignav:Levels>
</
ignav:Items>
</ignav:UltraWebMenu>
</AnonymousTemplate>

</asp:LoginView>

The possbily missing other UltraWebMenu childs possibly required are not there, because I cannot edit the whole thing in the designer (VS 2008, SP1). I added another menu to the content placeholder section, same issue: it gets not rendered and the .designer.cs variable UltraWebMenu1 is null.

Update: It seems to be "only" a "menu cannot be designed using VS designer if it is placed at a .master page" issue.

I use

Infragistics2.WebUI.UltraWebNavigator.v8.2, Version=8.2.20082.2011, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb