Hold the parent session when calling a showModalDialog child
-
Hi, I am developing a web app in VB.NET 1.1. In some Webforms I call a showModalDialog child, but when I close it, the parent session is removed. Please, how can I hold it? Thanks in advance, Jose Alvarez de Lara
-
Hi, I am developing a web app in VB.NET 1.1. In some Webforms I call a showModalDialog child, but when I close it, the parent session is removed. Please, how can I hold it? Thanks in advance, Jose Alvarez de Lara
Modal dialogues can't refer to their parent using opener. You need to pass a reference to the parent in the second parameter to showModalDialog.
-
Modal dialogues can't refer to their parent using opener. You need to pass a reference to the parent in the second parameter to showModalDialog.
Hi Puri, That is what I did. And I maintain a conversation between then parent and the child. I am thinking if it is possible to send the parent session to the child and bring it back to the parent when close the child. Thanks for your interesting, Jose
-
Hi Puri, That is what I did. And I maintain a conversation between then parent and the child. I am thinking if it is possible to send the parent session to the child and bring it back to the parent when close the child. Thanks for your interesting, Jose
Hello, There are two articles here in the Code Project. I am talking about "Those Crazy Popups" and "ASP.Net Modal Window Server Control". I am looking for something like them, but I need to fix those articles into my issue. Any help will be appreciate. Regards, Jose
-
Hello, There are two articles here in the Code Project. I am talking about "Those Crazy Popups" and "ASP.Net Modal Window Server Control". I am looking for something like them, but I need to fix those articles into my issue. Any help will be appreciate. Regards, Jose
Hi, I have found the answer googling. It is enough putting Response.Cache.SetCacheability(HttpCacheability.NoCache) in the Page_Load of pop up window. On the other hand here is the code snippet, Page1.aspx function DoDo(){ window.showModalDialog("Show.aspx","aa"); } LinkButton protected void Page_Load(object sender, EventArgs e) { Session["AA"] = "have a good day!"; } Show.aspx protected void Page_Load(object sender, EventArgs e) { if (Session["AA"] != null) Response.Write(Session["AA"].ToString()); else Response.Write("NULL.........."); } I hope this help to other people. Regards, Jose