title: unregister client script from Asp.Net
body: <p>I register a jQuery UI datepicker in Asp.Net page using .Net <code>ScriptManager</code> class.</p>
  
  <pre><code>private void registerDatePicker(TextBox tb)
  {
        if (tb != null)
        {
           ScriptManager.RegisterStartupScript(this, typeof(Page), "registerDatePicker" + tb.ID, "registerDatePicker('" + tb.ClientID + "');", true);
        }
  }
  </code></pre>
  
  <p>So once I registered, I want to unregistered the script from the page. How can I do that ?</p>
  
  <p>Thanks</p>
  
  <p>After @StackOverflowException answer,</p>
  
  <p>The reason I want to unregister the script is, I have few <code>TextBox</code> controls which will be created dynamically and hooked with date picker. Not only a datepicker is registered,a dialog and validator scripts are also registered. So the script is becoming bigger and bigger in a page. So once I used the control, If I am no longer use the control then I want to remove the associated registered script. </p>
  
  <p><strong>Note</strong> The controls are created and added in a <code>Table</code></p>
  
  <p>Thanks again.</p>