asp.net ModalPopupExtender not behaving properly
I have the following code on a .aspx file:
<cc1:ModalPopupExtender BehaviorID="mdlPopup" runat="server"
TargetControlID="btn"
ID="mdl1" PopupControlID="pnlPopup" OkControlID="LinkButton1"
BackgroundCssClass="modalBackground" />
<asp:Panel ID="pnlPopup" runat="server" CssClass="confirm-dialog"
Style="display: none;">
<div class="inner">
Work Order #: <asp:TextBox ID="txtWorkOrder" runat="server"
Width="285" Text=""></asp:TextBox><br /><br />
Please Enter Corrective Actions<br />
<asp:TextBox ID="TextBox2" runat="server" Height="150"
Width="285" TextMode="MultiLine"
Text=""></asp:TextBox>
<asp:Button ID="btnOK" runat="server" Font-Bold="true"
Text="Submit" OnClick="click"
Width="150" />
<asp:LinkButton ID="LinkButton1" runat="server"
CssClass="close" OnClick="cancel" />
</div>
</asp:Panel>
<asp:Button ID="btn" runat="server" Style="display: none;" />
<asp:Label ID="id" runat="server" Text="Label"
Visible="false"></asp:Label>
The problem that I am having is that the page just hangs when I have this
code in the .aspx file. Is there anything I should do. It does not even
get to the Page_Load.
I am calling this page that has the above code with the following:
string url = "Alerts.aspx?";
url += "ID=" + id.Text;
Response.Redirect(url);
Thursday, August 22, 2013
asp.net ModalPopupExtender not behaving properly
Posted on 7:53 AM by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment