i have a repeater control in that a checkbox is added for a studies column.
i want to get the rows for checkbox selected…hw to do this??
i have checkbox in itemtemplate like this
<asp:CheckBox runat="server" ID="GRAD_STUDIES_IND" Value='<%#Container.DataItem("GRADSTUDIES")%>'
DataSetID="dsStudent" BoundDataMember="school"
Bind="false" RepeaterDataSource='<% # Container %>' />
this control checkboxes 2 columns…but i want to access only one column
i tried this way
var rp1=document.getelemtbyID('<%=rp_student.ClientID%>')
var chk= rp1.getelementbytagname('input')
hw can i access particular column chekboxes
jQuery. Since it makes the task easy for you. You can put the repeater in a well id-ed div element; also give a good class name for your checkbox and do something like:
I’ve only shown you a simple way, the actual path to take is your own creation.
UPDATE:
Well, since you are not using jQuery, try something like: