Home > Forum > ASP.NET > ASP.net AJAX Modal Popup Control

ASP.net AJAX Modal Popup Control

by Gaurav Pal   on Feb 08, 2016   Category: ASP.NET  |  Views: 1114    |  Points: 5   |  Starter 
  Reply
Helo Developers,

I'm using ajax ModalPopupExtender in my code. After login i am calling another page in popup window. My problem is when i have complete the work on called page and then click the called page event and what to redirect the page to another page that page open in popup up window. But i want to open it in normal form. Below is my code for Login in design page and called page

Login Page

<ajaxToolkit:ModalPopupExtender ID="mp5" runat="server" PopupControlID="Panel1" TargetControlID="btnlogin"
CancelControlID="btnClose" BackgroundCssClass="modalBackground">
</ajaxToolkit:ModalPopupExtender>
<asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" align="center" style = "display:none">
<asp:ImageButton ImageAlign="Right" ID="btnClose" Width="32px" Height="32px" ImageUrl="~/images/Close.png" runat="server" />
<iframe style=" width: 550px; height: 500px; border:0" id="irm1" src="Post_task.aspx" runat="server"></iframe>
</asp:Panel>

Post Task Page :

<div style="text-align: left">
<asp:Button ID="btn_Contine_Budget" Width="350px" runat="server" class="btn btn-default" Text="Get Quotes Now" OnClick="btn_Contine_Budget_Click" />
</div>

Post Task Code Page :

protected void btn_Contine_Budget_Click(object sender, EventArgs e)
{
Response.Redirect("My_Task.aspx");
}


Bookmark and Share:
 
  User Reply  | Ask a question  |   Reply 
  Re :ASP.net AJAX Modal Popup Control   
by zz
on Apr 25 2016 10:35PM
Points : 10
Starter 
You can download and try this interesting high quality software on rasteredge page for c# accessible links in pdf http://www.rasteredge.com/how-to/csharp-imaging/pdf-edit-bookmark-outline/

Recent Post

Latest Posts