Controlling Node on <telerik:RadSiteMapNode

1 posts, 0 answers
  1. mauricio
    mauricio avatar
    1 posts
    Member since:
    May 2015

    Posted 05 May 2015 Link to this post

    Greetings Developers, im working with this structure, the problem is that i cannot hide a node: - i'm looking a control for the node, i want to display the menuNode for some authentications and not for others
     1.-
    Not able to add an ID, tells me "object its not in the current context"
    i was looking for  this solution and to  implement jquery .hide(), but
    doesn't work
    "<telerik:RadSiteMapNode 
    NavigateUrl="../Honorarios/GenerarPrevio.aspx?sbmH=GP" Text="Generar
    Previo" ClientIDMode="AutoID" runat="server">"  <div class="Menu">
                        <div id="MegaDropDown">
                           
    <telerik:RadMenu runat="server" ID="RadMenu1" Skin="Sitefinity"
    OnClientItemOpened="itemOpened" EnableRoundedCorners="true"
    ClickToOpen="True"
                                Width="895" Height="48" EnableShadows="true" Font-Underline="True" Style="top: 0px; left: 0px">
                                <Items>
                                    <telerik:RadMenuItem Text="Honorarios" Width="106px" runat="server">
                                        <Items>
                                            <telerik:RadMenuItem CssClass="Honorarios" Width="880" runat="server">
                                                <ItemTemplate>
                                                    <!--Submenu-->
                                                    <div id="CatWrapper" class="Wrapper" runat="server" >
                                                       
    <telerik:RadSiteMap ID="RadSiteMap1" runat="server"
    EnableTextHTMLEncoding="true" BackColor="Red" i >
                                                            <LevelSettings>
                                                                <telerik:SiteMapLevelSetting Level="0">
                                                                    <ListLayout RepeatColumns="2" />
                                                                </telerik:SiteMapLevelSetting>
                                                            </LevelSettings>
                                                           <Nodes>
                                                               
    <telerik:RadSiteMapNode 
    NavigateUrl="../Honorarios/GenerarPrevio.aspx?sbmH=GP" Text="Generar
    Previo" ClientIDMode="AutoID" runat="server">
                                                                </telerik:RadSiteMapNode>
                                                               
    <telerik:RadSiteMapNode
    NavigateUrl="../Honorarios/SegFol.aspx?sbmH=SF" Text="Seguimiento de
    Folios" >
                                                                </telerik:RadSiteMapNode>
                                                                    </Nodes>
                                                        </telerik:RadSiteMap>
                                                    </div>
                                                </ItemTemplate>
                                            </telerik:RadMenuItem>
                                        </Items>
                                    </telerik:RadMenuItem> i hope you can help me, thanks & sorry for my bad grammar.
Back to Top