Click here to Skip to main content
15,896,730 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dear all,

i want a code for generating dynamic checkbox in gridview along with header template check click event. so when i click the header part all the checkbox of the same clicked columns get checked and when i unchecked the checkbox all checkbox s unchecked.

i am generating a check box at run time along with check box data from database. i.e i am creating a template field at coding part and in templatefield i am generating header template and item template and assigning checkbox to header template and item template.

so when i click the header template checkbox then all the column of the particular checkbox is being checked.


so please help me i need this code so urgently. please...
Posted
Comments
Abhi1091 22-Mar-13 5:47am    
hey deependra i am adding check box on backside of coding part so for me it not possible to get the id on client side. and ihave already tried the link you have suggested me. so please help me other way..

thank you.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900