Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

229
Views
ASP.NET Web Form Page in new window opened via javascript window.open()

I've an ASP.NET page already published, and I open it from a third party application widget using a script window.open().

The script is working fine and also the page, but my problem is when I stay for a while not doing anything (for example 5 min) on the opened window the page stopped working, I tried to click a link button in that page but it's not working. Then I close the window and open it again then everything goes fine.

This problem makes many issues for me because it should affect on the third party system.

I think maybe there is some period of time for that window but I cannot catch the problem.

Is there any solution for this case ?

NOTE: The link button should hide an asp panel and show another one in code behind.

This is how I open the window

setTimeout(function() {

  var URL = document.getElementById('urlWithQuerystring').textContent;
  createPopupWin(URL, 'Search', screen.availWidth, screen.availHeight);
                 
}, 500);


function createPopupWin(pageURL, pageTitle, popupWinWidth, popupWinHeight) {

   var left = (screen.width - popupWinWidth) / 2;
   var top = (screen.height - popupWinHeight) / 4;
   var myWindow = window.open(pageURL, pageTitle,
       'resizable=no,scrollbars=yes, width=' + popupWinWidth +
       ', height=' + popupWinHeight + ', top=' +
       top + ', left=' + left);

}


about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!