开发者

Vertical Align a Bread Crumb using ASP.Net <asp:SiteMapPath> control

开发者 https://www.devze.com 2023-03-19 00:22 出处:网络
Using a \"asp:SiteM开发者_运维技巧apPath\" control along with Web.sitemap, I\'m able to get a bread crumb navigate horizontally like this

Using a "asp:SiteM开发者_运维技巧apPath" control along with Web.sitemap, I'm able to get a bread crumb navigate horizontally like this

Home > Manage People > Requirements >

Can a bread crumb navigation using a "asp:SiteMapPath" control be changed ? so that it comes vertically like this

  • Home >
  • Manage People >
  • Requirements >

Thanks in advance, Easwar.


<ul style="list-style-type: none;">
<asp:SiteMapPath ID="SiteMapPath1" runat="server" >
<NodeTemplate>
    <li>
        <a href='<%# Eval("url") %>' title='<%# Eval("description") %>' >
            <%# Eval("title") %>
        </a>
    </li>
</NodeTemplate>
</asp:SiteMapPath>
</ul>
0

精彩评论

暂无评论...
验证码 换一张
取 消