title: How do I call a serverside function from javascript?
body: <p>I have a javascript function from where I am trying to call the serverside function   <code>WebSchedule.Client.RadGrid1_SelectedIndexChanged</code>. This is the code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
       function RowSelected(sender, args) 
       {
           var dataKeyValue = args.getDataKeyValue("Order_No");
           document.getElementById("txtOrderno").value = dataKeyValue;
           WebSchedule.Client.RadGrid1_SelectedIndexChanged(sender, args);
       }
   &lt;/script&gt;
  </code></pre>
  
  <p>However, I get an error "WebSchedule is undefined". What am I doing wrong?</p>