LinkButton as Default Button
<pre><code>HtmlForm fMp = Master.FindControl("fMp") as HtmlForm;
            if (fMp != null)
            {
                fMp.DefaultButton = btnLogin.UniqueID;
            }
</code></pre>

<p>but when i press enter nothing happens. Any idea why? </p>

<p>if i use:</p>

<pre><code>fMp.DefaultButton = "btnLogin";
</code></pre>

<p>then i get:</p>

<blockquote>
  <p>The DefaultButton of 'fMp' must be the
  ID of a control of type
  IButtonControl.</p>
</blockquote>

<p>isn't LinkedButton part of IButtonControl. I google but no solution...</p>
