title: How to call a codebehind function from javascript in asp.net?
body: <p>I want to call a function from my code behind using javascript. I used the below code:</p>
  
  <pre><code>function fnCheckSelection() {
  some script;
  window["My"]["Namespace"]["GetPart"](null);
  }
  </code></pre>
  
  <p>...where <code>"GetPart"</code> is the function name. However, this is not working. Please help me on this.</p>