I am new to web development and would appreciate some help here. I am dynamic creating check boxes through ASP.net and would like to know how I iterate through them in my code behind to know which ones have been chceck and unchecked. please help if you can. Below is a code snippet from the ASPx part:
<
asp:repeater id=rptBelbinMaster runat="server"><headertemplate>
<table class="datagridNormal" width="100%" border="1" >
<tr><th align="Left">Question Codeth>
<th align="Left">
Question
th> tr> headertemplate> <itemtemplate> <tr class="datagridNormal" width="100%"> <td align="Left"><%# DataBinder.Eval(Container.DataItem, "prpQuestionCode")%> td> <td align="Left" width="90%"><%# DataBinder.Eval(Container.DataItem, "prpQuestionText")%> td> tr> <asp:repeater runat="server" datasource='<%# DataBinder.Eval(Container.DataItem, "prpAnswers") %>'> <headertemplate> <table class="datagridSecondary" width="100%" border="1" > <tr> <th align="Left">Answer Code
th> <th align="Left">Answer
th> tr> headertemplate> <itemtemplate> <tr class="datagridSecondary" width="100%"> <td> <input type="checkbox" id="chkAnswer<%# ((System.Collections.Generic.KeyValuePair
Replies
Know the answer? Post it — somebody with the same question will find it here.