G
Guest
Hello there,
I'm facing the following situation: I have an aspx web page which contains
several web controls (e.g button and drop down list). The drop down list in
particular has enabled the autopostback property so that I can do some
validations on the server.
This page has algo one html button which opens a new window by using a
javascript function to display some calculations. I have to close this new
window every time that a post back is made (e.g. the user selects a different
item on the drop down list) and even though I've written a JS code to close
the opened window, once the post back is made, the reference to the opened
window is lost and my js code doesn't work.
Is there any way to add this js code to close the window to the _doPostBack
function? so that every time that a post back ocurrs this new window can be
closed?
Thanks in advance.
César
I'm facing the following situation: I have an aspx web page which contains
several web controls (e.g button and drop down list). The drop down list in
particular has enabled the autopostback property so that I can do some
validations on the server.
This page has algo one html button which opens a new window by using a
javascript function to display some calculations. I have to close this new
window every time that a post back is made (e.g. the user selects a different
item on the drop down list) and even though I've written a JS code to close
the opened window, once the post back is made, the reference to the opened
window is lost and my js code doesn't work.
Is there any way to add this js code to close the window to the _doPostBack
function? so that every time that a post back ocurrs this new window can be
closed?
Thanks in advance.
César