repeater内嵌套的repeater中linkbutton事件 怎么写触发啊?
如题:
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" OnItemCreated="Repeater1_ItemCreated">
<HeaderTemplate>
<table class="small" cellspacing="1" cellpadding="3" width="100%" bgcolor="#000000"
border="0">
<tr class="TableHeader">
<td nowrap align="center" style=" width:10%;">
进度名称</td>
<td nowrap align="center">
<table class="small" cellspacing="1" cellpadding="3" width="100%" bgcolor="#000000"
border="0">
<tr class="TableHeader">
<td nowrap align="center"style="width:60px">
项目名称</td>
<td nowrap align="center"style="width:60px">
贷款银行</td>
<td nowrap align="center"style="width:60px">
品种</td>
<td nowrap align="center"style="width:60px">
项目经办</td>
<td nowrap align="center"style="width:60px">
部门</td>
<td nowrap align="center"style="width:60px">
项目主管</td>
<td nowrap align="center"style="width:60px">
担保金额</td>
<td nowrap align="center"style="width:60px">
受理时间</td>
<td nowrap align="center"style="width:60px">
项目进度</td>
<td nowrap align="center">
操作</td>
</tr>
</table>
</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr class="TableLine1">
<td nowrap align="center">
<%#new DAL.enmu().GetProjectSchedule( Convert.ToInt32(DataBinder.Eval(Container.DataItem,"plan_id")))%>
</td>
<td><asp:Repeater ID="rptCrmCustomer" runat="server" EnableViewState="False" OnItemCommand="rptCrmCustomer_ItemCommand"
OnItemDataBound="rptCrmCustomer_ItemDataBound">
<HeaderTemplate>
<table class="small" cellspacing="1" cellpadding="3" width="100%" bgcolor="#000000"
border="0">
</HeaderTemplate>
<ItemTemplate>
<tr class="TableLine1">
<td nowrap align="center" style="width:60px">
<%# Eval("operation_name") %>
</td>
<td nowrap align="center" style="width:60px">
<%#new DAL.Banklist().GetModel(Convert.ToInt32(Eval("operation_bank"))).Banklist_name %>
</td>
<td nowrap align="center" style="width:60px">
<%#new DAL.varietylist().GetModel(Convert.ToInt32(Eval("operation_breed"))).varietylist_name %>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.Users().GetUserName(Eval("operation_PP").ToString())%>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.Department().GetDepartmentName(Convert.ToInt32(Eval("operation_department")))%>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.Users().GetUserName(Eval("operation_PM").ToString())%>
</td>
<td nowrap align="center" style="width:60px">
<%# Eval("operation_amount")%>
</td>
<td nowrap align="center" style="width:60px">
<%# Convert.ToDateTime(Eval("operation_ReceivingTime")).ToString("yyyy-MM-dd")%>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.enmu().GetProjectSchedule(Convert.ToInt32(Eval("operation_ProjectSchedule")))%>
</td>
<td nowrap align="center">
<asp:LinkButton ID="LinkButton3" runat="server" CommandName="view" CommandArgument='<%# Eval("operation_id")%>'>查看详细信息</asp:LinkButton>
<asp:LinkButton ID="LinkButton4" runat="server" CommandName="del" CommandArgument='<%# Eval("operation_id")%>'>编辑/审核项目</asp:LinkButton>
</td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr class="TableLine1">
<td nowrap align="center" style="width:60px">
<%# Eval("operation_name") %>
</td>
<td nowrap align="center" style="width:60px">
<%#new DAL.Banklist().GetModel(Convert.ToInt32(Eval("operation_bank"))).Banklist_name %>
</td>
<td nowrap align="center" style="width:60px">
<%#new DAL.varietylist().GetModel(Convert.ToInt32(Eval("operation_breed"))).varietylist_name %>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.Users().GetUserName(Eval("operation_PP").ToString())%>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.Department().GetDepartmentName(Convert.ToInt32(Eval("operation_department")))%>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.Users().GetUserName(Eval("operation_PM").ToString())%>
</td>
<td nowrap align="center" style="width:60px">
<%# Eval("operation_amount")%>
</td>
<td nowrap align="center" style="width:60px">
<%# Convert.ToDateTime(Eval("operation_ReceivingTime")).ToString("yyyy-MM-dd")%>
</td>
<td nowrap align="center" style="width:60px">
<%# new DAL.enmu().GetProjectSchedule(Convert.ToInt32(Eval("operation_ProjectSchedule")))%>
</td>
<td nowrap align="center">
<asp:LinkButton ID="LinkButton3" runat="server" CommandName="view" CommandArgument='<%# Eval("operation_id")%>'>查看详细信息</asp:LinkButton>
<asp:LinkButton ID="LinkButton4" runat="server" CommandName="del" CommandArgument='<%# Eval("operation_id")%>'>编辑/审核项目</asp:LinkButton>
</td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table></FooterTemplate>
</asp:Repeater>
HTML代码如上,