Drop down menus

Oct 10, 2013 at 4:04 AM
I am using customer portal. I want to create drop down menus with primary navigation upto 3 level.

<crm:WebLinks ID="mainmenu" WebLinkSetName="Primary Navigation" ShowLinkDescriptions="false" ShowCopy="false" ShowTitle="false" ShowImage="false" runat="server">
<ItemTemplate>
                    <li class="dropdown">
                <asp:HyperLink ID="level1" NavigateUrl='<%# GetURL     (Container.DataItem                    as                   Entity) %>' Text='<%# Eval("adx_name") %>' runat="server" />
                                        <div class="grid-container3">
                                            <ul>
                                                <crm:CrmSiteMapChildView ID="CrmSiteMapChildView2" StartingNodeUrl="<%# GetURL(Container.DataItem as Entity) %>" runat="server">
                                                <LayoutTemplate>
                                                    <li id="ItemPlaceholder" runat="server" />  
                                                    </LayoutTemplate>

                                                <ItemTemplate>
                                                <li><asp:HyperLink ID="level2" NavigateUrl='<%# Eval("Url") %>' Text='<%# Eval("Title") %>' runat="server" /></li                                                                </crm:CrmSiteMapChildView>

                                                </ItemTemplate>

                                                </crm:CrmSiteMapChildView>
                                            </ul>
                                        </div>
                                    </li>

                    </ItemTemplate>

                </crm:WebLinks>
Please guide me how i can extend this code to show drop downs to 3 level. If i want to use
<crm:CrmSiteMapChildView> to 3 level, what i need to write StartingNodeUrl="<%# GetURL(Container.DataItem as Entity) %>" property.

Thanks for any valuable help