title: How to unregister Page.ClientScript in C# Asp.net
body: <p>I am registering java script to my Asp.net code behind file, which is working fine. Now, I have some update panels on the same page and problem is whenever there is any change in any of the update panel, this script is automatically getting called. Is there any way that I can stop this happening. I can't remove update panels from my page and this script is also a very essential part of the application. In this situation I am just calling a alert (rad alert with set time out functionality) when Save Button is clicked or an Update routine is called while I have few other buttons in update panels and whenver any of the button which is registered to the update panels clicked, the following script is called un-willingly. Anyone's help will really be appreciated.</p>
  
  <p>following is my Page.ClientScript</p>
  
  <pre><code>                string radalertscript = "&lt;script language='javascript'&gt; Sys.Application.add_load(function(sender, e) {var oWnd = radalert('dialogMessage', 400, 140, 'Saved');window.setTimeout(function () { oWnd.Close(); }, 3000);});&lt;/script&gt;";
                  Page.ClientScript.RegisterStartupScript(this.GetType(), "radalert", radalertscript);
  </code></pre>