title: textBox onBlur to call server method instead of client method
body: <p>I'm extending a web control. I need to call server methods on every event fired by the control instead of javascript. </p>
  
  <pre><code>public partial class MyTextBox : RadTextBox, IScriptControl
  {
      public MyTextBox()
      {
          Attributes.Add("onBlur", "handleLostFocus();");
          Attributes.Add("runat", "server");
      }
  
      public void handleLostFocus()
      {
          MyObject obj = new MyObject();
          obj.someproperty = this.Text; //or somehow get the user entered text.
  
          MyService1 service = new MyService1();
          service.sendRequest(obj);
      }
  }
  </code></pre>