我有用户控制,看起来像
<div>
<asp:LinkButton ID="btnShow" runat="server" Text="Select" CausesValidation="false" />
</div>
<ajaxToolkit:ModalPopupExtender ID="mpe1" runat="server"
BehaviorID="popup1" TargetControlID="btnShow"
PopupControlID="pnlPopup1" BackgroundCssClass="modalBackground" />
<asp:Panel ID="pnlPopup1" runat="server" CssClass="modalpopup" style="display:none">
.....
</asp:Panel>
我在网页上多次使用此控件。这只适用于页面中的第一个控件,此控件的其他实例不显示模式弹出窗口。我还在网格视图中使用它,但失败了。
你知道从弹出窗口中可以停止显示什么吗?
注意:我正在使用用户控件中的LinkButton来触发弹出窗口。