I need to do some server side logic on a row in my repeater when a CheckBox is clicked inside the repeater control.
Anyone know how to go about this?
The way I see it you cant fire item command and if you use the CheckBoxes OnClick you cant get the repeater row.
Here is a quick mock-up of how I have done similar in the past.
codebehind:
Try this codebehind:
You could use the OnClick event to loop through each item in the repeater, and check the value of each checkbox, (IsChecked == true).
Just make sure that you are not calling a "DataBind()" on the repeater, otherwise that might cause issues.