3 Replies - 1180 Views - Last Post: 29 December 2009 - 10:52 AM Rate Topic: -----

#1 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

Problem Loading Page In Multiple Windows if it's Processing In One

Posted 04 December 2009 - 09:32 AM

I've discovered a problem that's fairly huge in my work environment and unusual. I'd say that it's impossible for it to be happening except that it is happening.

I'm going to try my hardest to explain what's happening and hope it makes sense :)

You have a window (we'll call it window 1) open with a page in it, you enter some data on the form, push the button to submit the data...behind the scenes a decent amount of work is going on.

While data is processing in window 1 , you open window 2 and try to load the same page that is processing data in window 1.

Window 2 will not render the page until window 1 is done doing whatever it's doing behind the scenes and has re-rendered on the screen.

This is happening for all .NET pages in our environment.

Is This A Good Question/Topic? 0
  • +

Replies To: Problem Loading Page In Multiple Windows if it's Processing In One

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Problem Loading Page In Multiple Windows if it's Processing In One

Posted 29 December 2009 - 10:25 AM

Is this a web application or a Windows Forms application? The only reason I can fathom for this is because even if you try to view the page in a different window it's still doing that process intensive work, and that is not allowing it to load until the processing is completed (It's running in the same instance/pool as the previous window). Does that make sense?

One thing you can do to help curb this is to put the intensive work into a BackgroundWorker, thus running it in it's own thread and taking away from the main thread, allowing the window to load.
Was This Post Helpful? 0
  • +
  • -

#3 fyrestorm  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 10
  • View blog
  • Posts: 3,113
  • Joined: 04-April 02

Re: Problem Loading Page In Multiple Windows if it's Processing In One

Posted 29 December 2009 - 10:51 AM

Hi PsychoCoder,

It is a web application.

I'll look into the background worker.

Thanks so much :)
Was This Post Helpful? 0
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Problem Loading Page In Multiple Windows if it's Processing In One

Posted 29 December 2009 - 10:52 AM

Then I'm going to move this to the ASP.NET Forum.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1