Hello,
I am attempting to create a simple menu, rendered horizontally, containing separators between items. However, the separators are not rendered. The markup defining the menu is below:
JavaScriptFileNameCommon="" LeafItemImageUrl="" ParentItemImageUrl=""
StyleSetName="" TopItemSpacing="Compact">
<IslandStyle BackgroundImage="~/Images/bg_nav2.png">
</IslandStyle>
<TopSelectedStyle BackgroundImage="~/Images/bg_nav.png">
</TopSelectedStyle>
BackgroundImage="~/Images/bg_nav.png">
</HoverItemStyle>
Font-Size="Small" ForeColor="White" Height="28px" />
<Items>
<ignav:Item Text="Wage Reporting">
</ignav:Item>
<ignav:Item Separator="True" Text="">
<ignav:Item Text="Membership Application">
</Items>
<DisabledStyle Font-Names="MS Sans Serif" Font-Size="8pt" ForeColor="Gray">
</DisabledStyle>
<Levels>
<ignav:Level Index="0" />
</Levels>
CustomRules="background-repeat:repeat-x; "
<ExpandEffects ShadowColor="LightGray"></ExpandEffects>
<MenuClientSideEvents InitializeMenu="" ItemChecked="" ItemClick="" SubMenuDisplay="" ItemHover=""></MenuClientSideEvents>
</ignav:UltraWebMenu>
The rendered HTML output follows:
<table height='' submenu='1' border='0' cellpadding='2' cellspacing='1' id='ctl00UltraWebMenu1_MainM' tabIndex='0'>
<td igitem='1'>
<tr>
<td align='left'>
</td>
</table>
</tr>
<td>
<input type="hidden" id="ctl00$UltraWebMenu1" name="ctl00$UltraWebMenu1" value=""> </td>
</div>
All images are available in the Images folder, and all of them render correctly except for the separator image. As you can see from the above HTML, no markup whatsoever is rendered for the separator item, so the problem cannot be with the image being unavailable.
My suspicion is that the functionality I am trying to use is simply not supported. None of the menu samples on Infragistics's web site appear to use separators in this way. However, the application I am developing needs to support separators, so I will have to use the more basic ASP menu control if Infragistics cannot support them.
Thanks in advance for any advice.
Ken
Hey guys,
Just in case anyone else was trying to do this, I accomplished my goal in the following way:
That's how I create top-level separators.