Dynamic 2 html button "Submit" control, how to know which button is click in code
<p>I am implementing dynamic button as html control, but the button's click event is not fired.</p>

<p>my code is </p>

<pre><code>for (iDynamicPageCount = 0; iDynamicPageCount &lt; GrdResult.PageCount - 1; iDynamicPageCount++)
{
    string sDynamicSybntext = 
        "&lt;li&gt;&lt;button type=\"submit\" runat=\"server\" onserverclick=\"btnNext1_Click\" id=" + strName + "&gt;" + (iDynamicPageCount + 2).ToString() + "&lt;/button&gt;&lt;/li&gt;";
    sbPaging.Append(sDynamicSybntext);
}
</code></pre>

<p><code>GrdResult.PageCount - 1</code> number of button will create.</p>

<p>at last add into literal control</p>

<pre><code>p0.Text = sbPaging.ToString();
</code></pre>

<p>when i click the button <code>btnNext1_Click</code> event is not firing, only postback occurs. </p>
