title: How to get parameters that are passed to ScriptManager?
body: <p>i'm using ScriptManager to open new windows in the asp.net app. </p>
  
  <p>in the new window i'm getting the parameter by using ClientQueryString.</p>
  
  <p>is there a way to get the parameters in more direct way ? </p>
  
  <pre><code> ScriptManager.RegisterStartupScript(Page, typeof(Page), "OpenWindow", "window.open('MyNewPage.aspx?Param=" + Myparam + "');", true);
  
  string str = this.ClientQueryString.Substring(6);
  </code></pre>