I am using some scripts in my .aspx pages. It was working before I put update panel in these pages. I need both things, update panel and scripts. How to enable these scripts inside the update panel in asp.net? I am using c# and asp.net 4.5 framework. The scripts that I used in the pages are:

    1.

Response.Write("alert('Successfully Updated')");

2.

string url = "./Quick.aspx";
   string cmd = "window.open('" + url + "', '_blank', 'height=600,width=600,status=yes,toolbar=no,menubar=no,location=yes,scrollbars=yes,resizable=no,titlebar=no' );";
ScriptManager.RegisterStartupScript(this, this.GetType(), "newWindow", cmd, true);
   }

These codes are used in the .aspx.cs pages.

Any idea about this issue to solve?

Thanks....

Related posts

Recent Viewed