comparison Demo/Asp.Net/Web/Controls/NavigationControl.ascx @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 <%@ Control Language="C#" AutoEventWireup="true" CodeFile="NavigationControl.ascx.cs" Inherits="PetShop.Web.NavigationControl" %>
2 <%@ OutputCache Duration="100000" VaryByParam="*" %>
3
4 <asp:Repeater ID="repCategories" runat="server">
5 <HeaderTemplate>
6 <table cellspacing="0" border="0" style="border-collapse: collapse;">
7 </HeaderTemplate>
8 <ItemTemplate>
9 <tr>
10 <td class="<%= ControlStyle %>"><asp:HyperLink runat="server" ID="lnkCategory" NavigateUrl='<%# string.Format("~/Products.aspx?page=0&categoryId={0}", Eval("Id")) %>' Text='<%# Eval("Name") %>' /><asp:HiddenField runat="server" ID="hidCategoryId" Value='<%# Eval("Id") %>' /></td>
11 </tr>
12 </ItemTemplate>
13 <FooterTemplate>
14 </table>
15 </FooterTemplate>
16 </asp:Repeater>