Mercurial > pub > bltoolkit
view Demo/Asp.Net/Web/Controls/ProductsControl.ascx @ 3:1ef98bd70424
!bug 100 +3h
Исправление проблемы BLToolkit + mono 3.4
author | cin |
---|---|
date | Fri, 22 Aug 2014 17:34:46 +0400 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductsControl.ascx.cs" Inherits="PetShop.Web.ProductsControl" EnableViewState="false" %> <%@ Register TagPrefix="PetShopControl" Namespace="PetShop.Web" %> <%@ OutputCache Duration="100000" VaryByParam="page;categoryId" %> <div align="center" class="productsPosition"> <PetShopControl:CustomList ID="productsList" runat="server" EmptyText="No products found." OnPageIndexChanged="PageChanged" PageSize="4" RepeatColumns="2" CellPadding="16" CellSpacing="0" Width="500px"> <ItemTemplate> <table cellpadding="0" cellspacing="0"> <tr> <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> <td width="26"> </td> <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> </tr> </table> </ItemTemplate> <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" /> </PetShopControl:CustomList> </div>