I have a datagrid, each row contains 4 checkboxes columns and 2 text columns (customer type and customer name).
I need to use javascript to do some validation on the checkboxes.
The validation is when a checkbox is checked, then base on the customer type of that row, and go through all the rows and if find a customer type is same, uncheck all the checkbox on that found row.
If customer type is different, ignore it.
The restriction is I have to use javascript to do the job.
Afterward, I will need to retrive all checkboxes status during a postback.
I tried to modify the ID on each checkbox during databound event, but I cannot get the updated checkboxes status.
Hope someone can help.
Thanks in advance.
I need to use javascript to do some validation on the checkboxes.
The validation is when a checkbox is checked, then base on the customer type of that row, and go through all the rows and if find a customer type is same, uncheck all the checkbox on that found row.
If customer type is different, ignore it.
The restriction is I have to use javascript to do the job.
Afterward, I will need to retrive all checkboxes status during a postback.
I tried to modify the ID on each checkbox during databound event, but I cannot get the updated checkboxes status.
Hope someone can help.
Thanks in advance.