返回首页

编辑的LinkBut​​ton触发的命令,但不能写"this.ModalPopupExtenderQ.show();",因为联合国访问

我想在Modalpopup编辑的"实际"面板"中的内容如何,​​我可以分配实际面板的标签弹出面板的文本框的值??

请Helppp

<asp:ListView runat="server" ID="ListViewQualification" InsertItemPosition="LastItem" 

            onitemcommand="ListView1_ItemCommand"> 

<layouttemplate>

 

   

  <asp:Panel id="itemPlaceholder" runat="server"/>

  

</layouttemplate>

<itemtemplate>

 

<asp:Panel runat="server" ID="actual" class="panel">

<asp:LinkButton ID="imgbtn" runat="server" CssClass="panel"  CommandName="Edit">Edit

<%--<asp:LinkButton ID="lnkEdit" runat="server" Text="Edit">--%>

  <asp:Label runat="server" ID="lblId" Visible="false"><%#Eval("InstituteID")%>

   <asp:Label runat="server" ID="lblStartYr"><%#Eval("YearStart")%>

   <asp:Label runat="server" ID="lblEndYr"><%#Eval("YearEnd")%>

   <asp:HyperLink runat="server" ID="hyphidden" Visible="false" >

   <asp:ModalPopupExtender runat="server" ID="ModalPopupExtenderQ" PopupControlID="EditPanel" TargetControlID="hyphidden" CancelControlID="lnkCancel" >

   

   

   

 

   <asp:Panel runat="server" ID="EditPanel"  >

<asp:TextBox runat="server" ID="InstituteID" Text="institute Name" Visible="false" >

<asp:TextBox runat="server" ID="YearStart" Text="Year Started">

<asp:TextBox runat="server" ID="YearEnd" Text="Year Ended">

<asp:LinkButton ID="lnkUpdate" runat="server" CommandName="Update" CssClass="btn" Text="Update" >

<asp:LinkButton ID="lnkCancel" runat="server"  CssClass="btn" Text="Cancel">

 

  

 

</itemtemplate>

    

 



<edititemtemplate>

 

</edititemtemplate>

 

<insertitemtemplate>

<asp:Panel ID="PanelInset" runat="server">

<asp:TextBox runat="server" ID="InstituteID" Text="institute Name" >

<asp:TextBox runat="server" ID="YearStart" Text="Year Started">

<asp:TextBox runat="server" ID="YearEnd" Text="Year Ended">

<asp:Button ID="InsertButton" runat="server" 

		CommandName="Insert" Text="Insert" />

 

</insertitemtemplate>

 


cs代码: -

{C}

回答

评论会员: 时间:2
M