试试这个。
创建一个虚拟的隐藏字段:
<asp:HiddenField ID="hdnField" runat="server" />
在您的Modal Popup声明中设置TargetcontrolID =“ hdnField”。
在您的btnSaveData_Click事件中,执行以下操作:
modalPopup.Show();

试试这个。
创建一个虚拟的隐藏字段:
<asp:HiddenField ID="hdnField" runat="server" />
在您的Modal Popup声明中设置TargetcontrolID =“ hdnField”。
在您的btnSaveData_Click事件中,执行以下操作:
modalPopup.Show();