AJAX ::停止ModalPopupExtender从关闭按钮单击? [英] AJAX :: Stop ModalPopupExtender From Closing buttion Click?
本文介绍了AJAX ::停止ModalPopupExtender从关闭按钮单击?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
AJAX ::停止ModalPopupExtender从关闭按钮单击?
我想在新的禁止后停止关闭Ajax模块弹出窗口。
plase任何人都可以帮助我??
AJAX :: Stop ModalPopupExtender From Closing buttion Click?
I want to stop closing Ajax module popup after fresh buttion.
plase any one can help me??
<asp:Panel ID="Panel5" runat="server"
CssClass="subGridPanel" Width="400">
<asp:Panel ID="Panel6" runat="server" BorderColor="Transparent" BorderWidth="5"
HorizontalAlign="Right">
<asp:ImageButton ID="panel1Close0" runat="server" BackColor="Gray"
Height="13px" ImageUrl="~/Resources/images/Close_button.jpg" ToolTip="Close"
Width="13px" />
</asp:Panel>
<asp:Panel ID="Panel7" runat="server" CssClass="SubGrid" ScrollBars="Auto">
<asp:Panel ID="CentrePanel0" runat="server" ScrollBars="Auto">
<table style="width:100%;">
<tr>
<td style="text-align: center" width="30%">
</td>
<td style="text-align: center" width="70%">
<asp:Label ID="lblhawb" runat="server" Font-Size="Small" ForeColor="Red"></asp:Label>
</td>
</tr>
<tr>
<td style="text-align: right" width="30%">
<br />
Chage Code :
<br />
<br />
</td>
<td style="text-align: left" width="70%">
<asp:DropDownList ID="Dropdown_Curance0" runat="server" CssClass="input"
Width="75%">
<asp:ListItem>TEST</asp:ListItem>
<asp:ListItem>TEST1</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="text-align: right" width="30%">
Type :</td>
<td style="text-align: left" width="70%">
<asp:DropDownList ID="DropDiz0" runat="server" CssClass="input" Width="75%">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem Value="1">Cash </asp:ListItem>
<asp:ListItem Value="2">Percentage</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="text-align: right" width="30%">
Amount :
</td>
<td style="text-align: left" width="70%">
<asp:TextBox ID="txtcash_shipper_address" runat="server" Height="15px"
Width="75%"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right" width="30%">
CurrencyType :</td>
<td style="text-align: left" width="70%">
<asp:DropDownList ID="Dropdown_Curance" runat="server" CssClass="input"
Width="75%">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="text-align: right" width="30%">
Exchange Rate :</td>
<td style="text-align: left" width="70%">
<asp:TextBox ID="txtexchange" runat="server" Height="15px" Width="75%"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: center" width="30%">
<br />
<asp:Label ID="lblLKR" runat="server"></asp:Label>
</td>
<td style="text-align: center">
<br />
<asp:Button ID="btn_Cash_Ok" runat="server" onclick="btn_Cash_Ok_Click1"
Text="OK" Width="75px" />
</td>
</tr>
<tr>
<td style="text-align: center" width="30%">
</td>
<td style="text-align: center">
</td>
</tr>
<tr>
<td style="text-align: center" width="30%">
</td>
<td style="text-align: center">
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center" width="30%">
<asp:GridView ID="manifestGrid" runat="server" AutoGenerateColumns="False"
BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
CellPadding="3" Width="100%">
<Columns>
<asp:BoundField DataField="ChageCode" HeaderText="ChageCode" />
<asp:BoundField DataField="USDAmount" HeaderText="USDAmount" />
<asp:BoundField DataField="LKRamount" HeaderText="LKRamount" />
</Columns>
<FooterStyle BackColor="White" ForeColor="#000066" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<SortedAscendingCellStyle BackColor="#F1F1F1" />
<SortedAscendingHeaderStyle BackColor="#007DBB" />
<SortedDescendingCellStyle BackColor="#CAC9C9" />
<SortedDescendingHeaderStyle BackColor="#00547E" />
</asp:GridView>
</td>
</tr>
<tr>
<td style="text-align: center; width: 0%;" width="30%">
</td>
<td style="text-align: center; width: 15%;" width="30%">
<asp:Button ID="btnCash" runat="server" Text="Save" />
</td>
</tr>
</table>
<br />
</asp:Panel>
</asp:Panel>
</asp:Panel> </td>
<td style="width: 10%; height: 100%;">
</td>
</tr>
</table>
<br />
</div>
</div>
</div>
this is my Code i want to remove pop closing btnCash clik event
this is my Code i want to remove pop closing btnCash clik event
推荐答案
I hope you are asking to close the modalpopup.
We can use
modalpopup.hide();
I hope you are asking to close the modalpopup.
We can use
modalpopup.hide();
Use ModalPopUp.show();
Write the Controls to be showed, in Panel.
and trigger the targetid event when you want to show.
Use ModalPopUp.show();
Write the Controls to be showed, in Panel.
and trigger the targetid event when you want to show.
这篇关于AJAX ::停止ModalPopupExtender从关闭按钮单击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文