You need to use ClientScript.RegisterStartupScript instead of ClientScript.RegisterClientScriptBlock. Below is code snippet
ClientScript.RegisterStartupScript(this.GetType(), "btn", "<script type = 'text/javascript'>alert('Data has been submitted successfully..');'height=700,width=1200' </script>");