title: Unable to call JavaScript Function from code behind
body: <p>I'm working in application build in ASP.Net environment, I wanted to call JavaScript Function from the code behind in C#.</p>
  
  <p>I tried using ScriptManager.RegisterStartupScript() method, it hit error saying "The name 'ScriptManager' does not exist in the current contect", I already include the namespace System.Web.UI and yet still got this error.</p>
  
  <p>Any idea how can this happen? or there is a better workaround rather that using ScripManager to trigger JavaScript function from code behind?</p>
  
  <p>thank you in advanced.</p>