我有 asp.net 中继器控制器,我试图获取隐藏字段的值CheckBox1_CheckedChanged
<ul id="sortable">
<asp:Repeater runat="server" ID="rep_sortable">
<ItemTemplate>
<li class="ui-state-default">
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
<%# DataBinder.Eval(Container.DataItem, "Body") %>
<%# DataBinder.Eval(Container.DataItem, "Completed") %>
<asp:CheckBox ID="chb_com" runat="server" AutoPostBack="True" Checked='<%# DataBinder.Eval(Container.DataItem, "Completed") %>' oncheckedchanged="CheckBox1_CheckedChanged"/>
<asp:HiddenField ID="hf_reminderID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "ReminderID") %>'/>
</li>
</ItemTemplate>
</asp:Repeater>
</ul>
C#
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
foreach()
}