title: replacing ScriptManager by ToolkitScriptManager
body: <p>I know if I'm using AjaxControlToolkit I need to replace:</p>
  
  <pre><code>&lt;asp:ScriptManager
  </code></pre>
  
  <p>by </p>
  
  <pre><code>&lt;ajaxToolkit:ToolkitScriptManager
  </code></pre>
  
  <p>But do I need to replace ScriptManager in code behind too:</p>
  
  <pre><code>ScriptManager.RegisterStartupScript
  </code></pre>
  
  <p>by</p>
  
  <pre><code>ToolkitScriptManager.RegisterStartupScript
  </code></pre>
  
  <p>I got warning there:
  access to a static member of a type via a derived type</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>okay, maybe RegisterStartupScript belongs to ScriptManager and ToolkitScriptManager derived from ScriptManager? In this case it doesn't make sense to replace it for RegisterStartupScript?</p>