Posted on: 6/11/2015 3:17:56 PM | Views : 679

I posted a form in a new window using javascript to display a pdf file. After I closed the new form by clicking 'X' at the top right corner of the browser and return to the parent form, then when I clicked the "logout" button on the parent form. The server side event is not fired as usual. Anybody know what is wrong?
this is the javascript I used to post the new form:
function postWindow(billId, clientAccountId) {       document.body.innerHTML += '<form id="dynForm" action="/V2/BillImage.aspx" method="post" target="TheWindow"><input type="hidden" name="BillId"/> <input type="hidden" name="ClientAccountId"/></form>';         var f = document.getElementById('dynForm');         f.BillId.value = billId;        ...

Go to the complete details ...