S
sonali
i want to dopstback should get called on brower's close button click
also
function closewindow()
{
if (window.dialogArguments) {
// Calling the method (given as argument) to cause the postback
window.dialogArguments.doPostBack();
}
else
{
opener.doPostBack();
}
window.close();
}
window.onbeforeunload =closewindow ;
but this window.onbeforeunload event fiers on every button click of the
page
also
function closewindow()
{
if (window.dialogArguments) {
// Calling the method (given as argument) to cause the postback
window.dialogArguments.doPostBack();
}
else
{
opener.doPostBack();
}
window.close();
}
window.onbeforeunload =closewindow ;
but this window.onbeforeunload event fiers on every button click of the
page