Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Pop up problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
arnabit@gmail.com - 13 Jul 2007 06:42 GMT
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
nahid - 13 Jul 2007 06:55 GMT
On Jul 13, 11:42 am, "arna...@gmail.com" <arna...@gmail.com> wrote:
> Hi,
>
[quoted text clipped - 9 lines]
>
> Arnab

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

hope help

nahid
http://nahidulkibria.blogspot.com/
http://www.kaz.com.bd
arnabit@gmail.com - 13 Jul 2007 07:37 GMT
> On Jul 13, 11:42 am, "arna...@gmail.com" <arna...@gmail.com> wrote:
>
[quoted text clipped - 19 lines]
>
> 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
nahid - 13 Jul 2007 08:53 GMT
On Jul 13, 12:37 pm, "arna...@gmail.com" <arna...@gmail.com> wrote:

> > On Jul 13, 11:42 am, "arna...@gmail.com" <arna...@gmail.com> wrote:
>
[quoted text clipped - 30 lines]
>
> - 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
arnabit@gmail.com - 13 Jul 2007 11:47 GMT
> On Jul 13, 12:37 pm, "arna...@gmail.com" <arna...@gmail.com> wrote:
>
[quoted text clipped - 49 lines]
>
> - Show quoted text -

Thanks nahid i have use your code
window.open("urpagename.html","_blank"); and it realy works.. Thanks a
lot
nahid - 13 Jul 2007 11:52 GMT
On Jul 13, 4:47 pm, "arna...@gmail.com" <arna...@gmail.com> wrote:

> > On Jul 13, 12:37 pm, "arna...@gmail.com" <arna...@gmail.com> wrote:
>
[quoted text clipped - 55 lines]
>
> - 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
Valentin L - 13 Jul 2007 13:35 GMT
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
_______________________________
> On Jul 13, 4:47 pm, "arna...@gmail.com" <arna...@gmail.com> wrote:
>>
[quoted text clipped - 77 lines]
> http://nahidulkibria.blogspot.com/
> http://www.kaz.com.bd

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.