In button click event how can I check all check boxes in gridview?
I dont need header checkbox.
Please provide your knowledge
awaiting your response….
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assign a class to all your grid row check boxes and use the below script to get them all.
And you’ve to call it this way:
Assign a class
childboxto grid row child box.you’ll assign the
parentboxclass to the parent checkbox which is in grid header.You don’t need to define them –
parentboxandchildbox.