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
650
Menu Perfomance Issues
posted

Good Morning All

Am using Infragistics Menu Control and i have a Problem with Perfomance. here is a mark-up of the control.

 

<ignav:UltraWebMenu ID="UltraWebMenu2" runat="server" Width="344px" EnableAppStyling =True" StyleSetName="RedPlanet" JavaScriptFilename="" JavaScriptFileNameCommon="" LeafItemImageUrl  ="" OnMenuItemClicked="UltraWebMenu2_MenuItemClicked" ParentItemImageUrl="" AutoPostBack ="True" EnableViewState ="False">

<Images ><SubMenuImage Url="ig_menuTri.gif" />

</Images><Items><ignav:Item Text ="Cycle Assignment"></ignav:Item>
<ignav:Item Text="Staff Assignment">
</ignav:Item>
</Items>
<DisabledStyle Font-Names="MS Sans Serif" Font-Size="8pt" ForeColor ="Gray">
</DisabledStyle><Levels><ignav:Level Index="0" /></Levels>
<SeparatorStyle BackgroundImage="ig_menuSep.gif" CssClass="SeparatorClass" CustomRules="background-repeat:repeat-x; " />
<ExpandEffects ShadowColor="LightGray" />
</ignav:UltraWebMenu>

And this is what i do on the Server side

 

        if (e.Item.Text == "Cycle Assignment")
        {
            MultiView1.SetActiveView(View1);
        }
        else if (e.Item.Text == "Staff Assignment")
        {
            MultiView1.SetActiveView(View2);
        }

This menu is inside a Update Panel with other Controls. When i click one of therm it takes time to show the view in the Multiview Control.

What Could be the problem.

Thank you