hi
Iam opening a modal popup window from an aspx page.
in modal popup, if i click server side button, perform some db changes and should close the window...
Here the code i have written:
in button_click event:
performing some db operations....
....
....
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Close", "javascript:window.close()", true);
But it doesnt work well. What happens is, when i click the button, it opens the same page in another new window, and prompt us 'are u want to close this window yes/no'. and the modal popup remains still.
Can u pls help me in this regard
thanks