Issue related to firing CheckedChange Event of Checkbox inside the Repeater
<p>I have an asp.net application, i have added Repeater in user Control, and inside the repeater i have added <code>asp Checkbox</code> </p>

<pre><code>&lt;asp:Repeater ID="Repeater1" runat="server" 
    onitemdatabound="Repeater1_ItemDataBound" 
    onitemcommand="Repeater1_ItemCommand" &gt;
    &lt;ItemTemplate&gt;
        &lt;table&gt;
            &lt;tr&gt;
                &lt;td&gt;    
                     &lt;asp:CheckBox runat="server" ID="chkSelect" AutoPostBack="true" Visible="false" OnCheckedChanged="chkSelect_CheckedChanged" /&gt;
                &lt;/td&gt;
</code></pre>

<p>and in CodeBehind file:</p>

<pre><code> protected void chkSelect_CheckedChanged(object sender, EventArgs e)
        {
            string s = "";
        }
</code></pre>

<p>But the event doesn't fire when clicking on checkbox.</p>

<p>i have also tried to add dynamically event when itemDataBound event fires of Repeater control:</p>

<pre><code>&lt;asp:Repeater ID="Repeater1" runat="server" 
    onitemdatabound="Repeater1_ItemDataBound" 
    onitemcommand="Repeater1_ItemCommand" &gt;
    &lt;ItemTemplate&gt;
        &lt;table&gt;
            &lt;tr&gt;
                &lt;td&gt;    
                     &lt;asp:CheckBox runat="server" ID="chkSelect" AutoPostBack="true" Visible="false" /&gt;
                &lt;/td&gt;
</code></pre>

<p>in Code Behind :</p>

<pre><code>   protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {
            if (((DataRowView)e.Item.DataItem).Row["DataType"].ToString().Trim().Equals("bool"))
            {
                CheckBox chkSelect = (CheckBox)e.Item.FindControl("chkSelect");
                chkSelect.CheckedChanged += new EventHandler(chkSelect_CheckedChanged);
                chkSelect.Visible = true;
            }
</code></pre>

<p>but still event doesn't fire..</p>

<p>how to Invoke an event of CheckBox control that is inside of Repeater Control...</p>
