title: How to call javascript function in code behind .cs file in Asp.net
body: <p>I tried to call the function ApplyCSS() which is in my SearchPage.ascx page inside the Script tag and in .CS file I am trying to call that function using the below code:</p>
  
  <pre><code>ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Script", "ApplyCSS();", true);
  </code></pre>
  
  <p>but I am getting javascript runtime error object expected.</p>