Count checkbox ticks from data list
I have a data list and I have a column for a tick box for each row.
I want all of the checkboxes to be ticked on load so I can't use onchange function.
How can I count the number of ticks? - Then return this value in a textbox.