title: Call C# code-behind method with a <li> onclick
body: <p>I got a li - list, one with an onclick:</p>
  
  <pre><code>&lt;ul class="tabs"&gt; 
      &lt;li&gt;&lt;a href="#tab1"&gt;Foobar_1&lt;/a&gt;&lt;/li&gt; 
      &lt;li onclick="doMethod"&gt;&lt;a href="#tab2"&gt;Foobar_2&lt;/a&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a href="#tab3"&gt;Foobar_3&lt;/a&gt;&lt;/li&gt; 
      &lt;li&gt;&lt;a href="#tab4"&gt;Foobar_4&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Now, the method I want to call when clicked on a tab (the li's), updates an UpdatePanel, so a gridview is shown.</p>
  
  <p>I know it must have something to do with AJAX, but I ain't got a clue how to move on now...</p>
  
  <p>so basically: how to call a c# method using AJAX?</p>