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
5549
Hide items on templated Webdatamenu
posted

hi, i have the following sample on my page. how can i now (on pageload?) hide items of the menu so the will not shown ?  

here for example to don't wanna show the second menupoint

<ig:webdatamenu ID="WebDataMenu1" runat="server" StyleSetName="RedPlanet"
            Width="100%">
            <Items>
                  <ig:DataMenuItem Text="employee">
                    <Items>
                        <ig:DataMenuItem Text="employee1">
                            <Template>
                                <asp:HyperLink CssClass="igdm_RedPlanetMenuItemVertical" ID="employee2" runat="server" NavigateUrl="~/employee3.aspx">employee</asp:HyperLink>
                            </Template>
                        </ig:DataMenuItem>
                        <ig:DataMenuItem Text="employee4">
                            <Template>
                                <asp:HyperLink CssClass="igdm_RedPlanetMenuItemVertical" ID="employee5" runat="server" NavigateUrl="~/employee7.aspx">employee8</asp:HyperLink>
                            </Template>
                        </ig:DataMenuItem>
                    </Items>
                </ig:DataMenuItem>