Hi..
I have used ultrawebmenu to display context menu items...
In context menu, i created as below..
<ignav:UltraWebMenu ID="UltraWebMenu1" SkinID="CCEMainPopup" EnableViewState="false" runat="server"> <Items> <ignav:Item HoverImageUrl="" Text="Hide"> </ignav:Item> </Items> <Items> <ignav:Item HoverImageUrl="" Text="Visualize"> </ignav:Item> </Items> <MenuClientSideEvents InitializeMenu="" ItemChecked="" ItemClick="UltraWebMenu1_ItemClick" ItemHover="" SubMenuDisplay="" /> </ignav:UltraWebMenu>
I want to arrange menu based on some condition.. For instance:- Visualize menu to be displayed above hide....
Please give me a solution, thanks in advance...
Hello,
The Items is a Collection. The Menu Items are displayed in the order they have within the Items collection. This is the order of declaring Items in the markup, or adding them to the Items collection in the code-behind. You can either change the declaration on the markup, or rearrange the Items collection of the UltraWebMenu in the code-behind. For more information on Client- and Server-side members and APIs of the UltraWebMenu, please visit our online documentation at: https://es.infragistics.com/support
Hope this helps!