Rock Xem

Rock Xem

  • NA
  • 1
  • 1.2k

JavaScript to get CheckBoxList values for each gridview row.

May 27 2015 8:56 AM
I have a gridview in which i show details of products complaints we receive from customer.
Whenever we take action on complaints we sometimes replace few parts of products, for this purpose i have a checkboxlist in my Gridview column no. 7 for each row. This CheckBoxList contains replaceable parts and one can select more than one part for each complaint (each row).

I want to write a javascript which can loop through each gridview row and as soon as i select the chekcboxlist items in 7th column it shows them on a label in column no 8 for each gridview row.
So basically i need to write a javascript which has a loop for each gridview row and then a loop to read checkboxlist selected items for each row.

Please help i am not able to write that javascript, also please tell me how and where should i call this javascript.
Thanks in advance.

Answers (1)