Pop up problem

  • Thread starter Thread starter arnabit
  • Start date Start date
A

arnabit

Hi,

In my website i have a report page where sql query are being
executed.The results are shown in a popup.The problem is that when I
try to have two browser instances running at the same time,
I cannot see the output of two reports at the same time.
With the results coming up in the popup window what happens is when I
try to run the second report it re uses the same popup window and I
lose the results from the first report.


Please give me a solution.Thanks in advance.

Arnab
 
Hi,

In my website i have a report page where sql query are being
executed.The results are shown in a popup.The problem is that when I
try to have two browser instances running at the same time,
I cannot see the output of two reports at the same time.
With the results coming up in the popup window what happens is when I
try to run the second report it re uses the same popup window and I
lose the results from the first report.

Please give me a solution.Thanks in advance.

Arnab

hi,
try this way
window.open("urpagename.html","_blank");

hope help

nahid
http://nahidulkibria.blogspot.com/
http://www.kaz.com.bd
 
hi,
try this way
window.open("urpagename.html","_blank");

hope help

nahidhttp://nahidulkibria.blogspot.com/http://www.kaz.com.bd

Thanks for the help but i am using
ScriptManager.RegisterStartupScript(btnNext, btnNext.GetType(),
PopupWindow, "openResultWindow();", true);

as my website is an ajax enabled site.Please give a sujjestion how to
proceed.
Thanks,
Arnab
 
Thanks for the help but i am using
ScriptManager.RegisterStartupScript(btnNext, btnNext.GetType(),
PopupWindow, "openResultWindow();", true);

as my website is an ajax enabled site.Please give a sujjestion how to
proceed.
Thanks,
Arnab- Hide quoted text -

- Show quoted text -

hi,
if your pop up window use following code on page prerender to switch
off page cache

protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
Response.Cache.SetCacheability(HttpCacheability.NoCache) ;
}

hope this will slove your problem

nahid
http://nahidulkibria.blogspot.com/
http://www.kaz.com.bd
 
hi,
if your pop up window use following code on page prerender to switch
off page cache

protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
Response.Cache.SetCacheability(HttpCacheability.NoCache) ;

}

hope this will slove your problem

nahidhttp://nahidulkibria.blogspot.com/http://www.kaz.com.bd- Hide quoted text -

- Show quoted text -

Thanks nahid i have use your code
window.open("urpagename.html","_blank"); and it realy works.. Thanks a
lot
 
Thanks nahid i have use your code
window.open("urpagename.html","_blank"); and it realy works.. Thanks a
lot- Hide quoted text -

- Show quoted text -

your well come ..
and if you realy need to open in same widow try

protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);

Response.Cache.SetCacheability(HttpCacheability.NoCache) ;
}

and let me know what happen

nahid
http://nahidulkibria.blogspot.com/
http://www.kaz.com.bd
 
WEB server am multy-threading problems?
Then you should check if your IIS has the debugging flags set to "On" (IIS
settings/Home_Directory/Configuration/Debugging)
When it's on "debugging " multithereading is off (* is executed one-by-one)
bye
_______________________________
 
Back
Top