0

used the codes such as

 window.close();

or

parent.close();

or

self.close();

or

open(location, '_self').close();

or

 window.open('','_self');
    window.close();

or

 window.open('', '_parent', '');
     window.close();

or

 open(location, '_self').close();

which gives the error. Scripts may close only the windows that were opened by it. how i will solve it.

   protected void ibtLogin_Click(object sender, ImageClickEventArgs e)
 {
Session["uId"] = dtbUserAuthentication.Rows[0]["idx_Users"].ToString();
                    Response.Redirect("ApplyNow.aspx?Userid=" +   Data.Encrypt(uId), false);
}
josna
  • 103
  • 2
  • 13

0 Answers0