Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul id="Category" class="row list-inline">
- <asp:ListView ID="categoryList"
- ItemType="products.Models.Category"
- runat="server"
- SelectMethod="GetCategories"
- >
- <SelectedItemTemplate>
- <li>
- <a href="<%#: GetRouteUrl("ProductsByCategoryRoute", new {categoryName = Item.CategoryName}) %>" class="selectedanchor">
- <%#: Item.CategoryName %>
- </a>
- </li>
- </SelectedItemTemplate>
- <ItemTemplate>
- <li>
- <a href="<%#: GetRouteUrl("ProductsByCategoryRoute", new {categoryName = Item.CategoryName}) %>">
- <%#: Item.CategoryName %>
- </a>
- </li>
- </ItemTemplate>
- <ItemSeparatorTemplate></ItemSeparatorTemplate>
- </asp:ListView>
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement