How can i close page from another page?
-
Dear all; of course all of us use Response.redirect("url"); or Server.Transfer("url"); to open page from another page how can i close page from another page ? and is there a way to open and close the page in the same time to get the session or any thing else in this page.
Kareem Elhosseny
-
Dear all; of course all of us use Response.redirect("url"); or Server.Transfer("url"); to open page from another page how can i close page from another page ? and is there a way to open and close the page in the same time to get the session or any thing else in this page.
Kareem Elhosseny
I'm not entirely sure what you're asking about... But I think you might be able to find a solution through javascript. You can use the function window.open() to open a page (typically used for a popup.) If you do that, on the newly opened page you can refference the page that opened it, via window.opener. So window.opener.close() would close the page that opened the current open, provided the current one was opened via window.open(). I hope that helps answer the question?
-
Dear all; of course all of us use Response.redirect("url"); or Server.Transfer("url"); to open page from another page how can i close page from another page ? and is there a way to open and close the page in the same time to get the session or any thing else in this page.
Kareem Elhosseny
Check out the following for some javascript tutorials. You should be able to find what you are looking for. http://www.echoecho.com/jswindows.htm
I didn't get any requirements for the signature
-
Dear all; of course all of us use Response.redirect("url"); or Server.Transfer("url"); to open page from another page how can i close page from another page ? and is there a way to open and close the page in the same time to get the session or any thing else in this page.
Kareem Elhosseny
I'm sorry to report that you are hopelessly lost. For several days now you've asked questions that indicate that you think that webforms are like winforms. I recommend you buy a book on ASP.NET and read it really fast, before your boss/client realises just how far you are out of your depth.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
I'm sorry to report that you are hopelessly lost. For several days now you've asked questions that indicate that you think that webforms are like winforms. I recommend you buy a book on ASP.NET and read it really fast, before your boss/client realises just how far you are out of your depth.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Dear; of course i didn't have your experience and i still junior right now but i imagine something maybe thats right i want to make something like back in any browser if it available plz till me if not can i open the page and close it while i take from it something like in windows and if u have books in asp can u send it to me thx for your time
Kareem Elhosseny
-
I'm not entirely sure what you're asking about... But I think you might be able to find a solution through javascript. You can use the function window.open() to open a page (typically used for a popup.) If you do that, on the newly opened page you can refference the page that opened it, via window.opener. So window.opener.close() would close the page that opened the current open, provided the current one was opened via window.open(). I hope that helps answer the question?
my dear; thx for your attention and your precious time i want to close the page not lookup window we can open the page with Respone.redirect()command from another page i want when i open this page take from it some sessions and close it in the same time because i didnt want the user see it while i take my requirment plz help me i know it can be rough but plz help me .
Kareem Elhosseny