<asp:ListView ID="lvMedics" runat="server" OnItemCommand="lvMedics_ItemCommand" OnItemDataBound="lvMedics_ItemDataBound"
OnPagePropertiesChanging="lvMedics_PagePropertiesChanging">
<LayoutTemplate>
<asp:PlaceHolder ID="groupPlaceHolder" runat="server"></asp:PlaceHolder>
</LayoutTemplate>
<GroupTemplate>
<asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
</GroupTemplate>
<ItemTemplate>
<tr>
<td>
<%# Eval("MedicineId")%>
</td>
<td> <script language="javascript" type="text/javascript">
$(document).ready(function() {
new PopupLayer({trigger:'#ele<%# Eval("Id")%>',popupBlk:'#blk<%# Eval("Id")%>',closeBtn:'#close<%# Eval("Id")%>',useFx:true});
}
)
</script>
<div id='emample<%# Eval("Id")%>' class="ecp">
<div id='ele<%# Eval("Id")%>' class="tigger">
购买</div>
<div class="clr">
</div>
<div id='blk<%# Eval("Id")%>' class="blk" style="display: none;">
<div class="head">
<div class="head-right">
</div>
</div>
<div class="main">
<a href="javascript:void(0)" id='close<%# Eval("Id")%>' class="closeBtn">关闭</a>
<asp:TextBox ID="txtNum" Width="60px" runat="server"></asp:TextBox></li>
<asp:Button runat="server" ID="btnBuy" Text="确认" CommandName="BuyFilter" CommandArgument='<%# Eval("Id") %>' />
</div>
<div class="foot">
<div class="foot-right">
</div>
</div>
</div>
</div>
</td>
</tr>
</ItemTemplate>
</asp:ListView>