Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

230
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda