Is it possible to close a page that was opened in new tab? I tried below codes but didn't work.
function closeCurPage()
{
window.close();
}
I called the above javascript function on button click like below:
<asp:Button ID="Button1" runat="server" Text="Close" OnClientClick="closeCurPage();"/>