DropDownList event not firing within Repeater
<p>I have a custom DropDownList control, SDropDownList. I am trying to register and fire the 'SelectedIndexChanged' event. I obviously started by adding the OnSelectedIndexChanged="method" attribute to the markup but it would not fire the event. I also tried registering it programmatically in the OnBound event of the Repeater</p>

<pre><code>protected void rptrSection1_Bound(object sender, RepeaterItemEventArgs e)
{
    var ctl = e.Item.FindControl("ddlS1") as SDropDownList;
    ctl.SelectedIndexChanged += new EventHandler(ddlS1_SelectedIndexChanged);
}
</code></pre>

<p>Note:
I had read some different forum posts that indicated disabling the ViewState of the Repeater would solve this problem. This is not an option for me.</p>

<p>Thanks for the help!</p>

<p>As requested, the markup:</p>

<pre><code>&lt;asp:Panel ID="pnlSection1" runat="server"&gt;
    &lt;asp:Repeater ID="rptrSection1" runat="server" OnItemCommand="rptrSection1_Command"
        OnItemDataBound="rptrSection1_Bound"&gt;
        &lt;ItemTemplate&gt;
                &lt;table class="Section2Table" cellspacing="3"&gt;
                    &lt;tr&gt;
                        &lt;td class="simgv" style="padding: 3px"&gt;
                                &lt;sc:SDropDownList ID="ddlS1" runat="server" OnSelectedIndexChanged="ddlS1_SelectedIndexChanged" &gt;
                                    &lt;asp:ListItem Text="Compliant" Value="0" /&gt; 
                                    &lt;asp:ListItem Text="Other Than Serious" Value="1" /&gt;
                                    &lt;asp:ListItem Text="Serious" Value="2" /&gt;
                                    &lt;asp:ListItem Text="Critical" Value="3" /&gt;
                                &lt;/sc:SDropDownList&gt;
                        &lt;/td&gt;                               
                    &lt;/tr&gt;
                &lt;/table&gt;
          &lt;/ItemTemplate&gt;
   &lt;/asp:Repeater&gt;
</code></pre>

<p></p>
