Click here to Skip to main content
15,944,828 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

how to select upto 5 checkbox in gridview row using javascript?

e.g if i selected 4th row means, check all checkbox from 1st row to 4th row of checkbox

1 solution

GridView is rendered as html table on browser, see the following demo and adapt:[^]
You wil have to use ClientID to identify the actual id of the gridview at runtime, read more:
ASP.NET 4.0 Client ID Feature[^]
Share this answer

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