annotate Demo/Asp.Net/Web/Controls/ProductsControl.ascx @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 <%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductsControl.ascx.cs" Inherits="PetShop.Web.ProductsControl" EnableViewState="false" %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 <%@ Register TagPrefix="PetShopControl" Namespace="PetShop.Web" %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 <%@ OutputCache Duration="100000" VaryByParam="page;categoryId" %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 <div align="center" class="productsPosition">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 <PetShopControl:CustomList ID="productsList" runat="server" EmptyText="No products found." OnPageIndexChanged="PageChanged" PageSize="4" RepeatColumns="2" CellPadding="16" CellSpacing="0" Width="500px">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 <ItemTemplate>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 <table cellpadding="0" cellspacing="0">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 <tr>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 <td valign="top" width="91"><a href='Items.aspx?productId=<%# Eval("Id") %>&categoryId=<%# Eval("categoryId") %>'><img id="imgProduct" alt='<%# Eval("Name") %>' src='<%# Eval("Image") %>' style="border-width: 0px;" runat="server" /></a></td>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 <td width="26">&nbsp;</td>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 <td valign="top" width="120"><a href='Items.aspx?productId=<%# Eval("Id") %>&categoryId=<%# Eval("categoryId") %>'><div class="productName"><%# Eval("Name") %></div></a><div class="productDescription"><%# Eval("Description") %></div></td>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 </tr>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 </table>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 </ItemTemplate>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 </PetShopControl:CustomList>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 </div>