I need to check all the checkboxes when I click select all check box in the header of the datagrid. How can I do that?
Checking all the checkboxes
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Anoop Kumar SharmaRank #127 · 17.4K reputationPosted Jan 17, 2015, 5:10 AM EST
Check out these links:
http://www.aspsnippets.com/Articles/Implement-check-all-checkbox-functionality-in-ASPNet-GridView-control-using-JavaScript.aspx
http://www.dotnetgallery.com/kb/resource18-Gridview-header-checkbox-select-and-deselect-all-rows-using-client-side-Jav.aspx.aspx
Hope this will help you.
..................................................................................................................................
If this post is useful then mark it as "Accepted Answer"
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Jan 17, 2015, 10:12 AM EST
Mrunal Bhandarkar82 reputationPosted Jan 17, 2015, 11:10 PM EST
Bhushan GawaleRank #299 · 8.4K reputationPosted Jan 18, 2015, 12:40 AM EST
http://stackoverflow.com/questions/756033/c-sharp-code-for-select-all-checkbox-in-wpf-datagrid