html checkboxes in datagrid

A

a developer

i have a datagrid.i add a template column having checkboxes(html ) in it
instead of webserver checkboxcontrol...now i have developed sucessfully a
model like hotmail, where user checks one chekbox in header and all r checked
in item template . and if any one of them is unchecked then header's checkbox
is also unchecked...NOW I WANT TO DELETE CHECKED ROWS OF DATAGRID ..HOW CAN
I DO IT BECOZ I M UNABLE TO FIND CHECKED ROWS AS MY CONTROL IS HTML CHECKBOX
CONTROL ...(IN TEMPLATE COLUMN SO I CAN NOT ACCESS IT IN CODE-BEHIND FILE
ALSO )... WHICH IS CHECKED.UNCHEKED ON CLEINT SIDE USING JAVASCRIPT WHICH I
HAVE DONE SUCESSFULLY...
SO CAN ANY ONE HELP ME "HOW CAN I DELETE THE ROWS OF THE DATAGRID BY
CLIKCING ON A BUTTON WHOSE ROWS ARE CHECKED BY CHECKBOXES(HTML CONTROLS) IN
TEMPLATE COLUMN..."
although i used to try a concept that i should generate a array(in
javascript, at client side) whose length is equal to no of checkboxex in
mydatagrid(i.e. equal to no. of rows in datagrid) and which has value 1 for
checked row and 0 for unchecked rows and then passing this arry to code
behind file..and generating an arry there also and taking 1 and 0 from clint
side arry and on the basis of server side arry deleting thr datagrid row
based on some condition..... but i could not do this becoz of weakness in
javascipt knowledge...............
can any onehelp me plzzzzzzzzzzz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top