onclick and onclientclick
<p>I have the following line in asp.net</p>

<pre><code>&lt;asp:LinkButton runat="server" ID="createuser" 
    OnClientClick="javascript:$('#dialogform').dialog('open');" 
    onclick="AddCaseInfo_Click"&gt;Create Case&lt;/asp:LinkButton&gt;
</code></pre>

<p>onclientclick works fine, but not onclick. I tried</p>

<pre><code>OnClientClick="javascript:$('#dialogform').dialog('open');return true;"
</code></pre>

<p>or </p>

<pre><code>OnClientClick="javascript: return $('#dialogform').dialog('open');"
</code></pre>

<p>...but it still doesnt work.</p>

<p>:(  Any help please?</p>
