Sushant Torankar

Sushant Torankar

  • 1.4k
  • 283
  • 31.7k

Multi-Checkbox in Gridview

Dec 16 2024 3:06 PM

Hello,

I am binding Gridview with suppose 1000 records. I need to add checkbox infront of each row and user will check any checkbox they want and There should be common APPROVE button. On clicking on it, it should update status of CHECKED rows only

But on Pagination it's not working properly. Suppose If i check one checkbox on 1st Page and one checkbox on 2nd page, it should give Id for that 2 checked checkbox, but instead it gives me extra checkbox checked on 2nd page, so total it gives me 3 checkbox checked.

so how to handle it properly ?

Test
Choose Reference Id Status Action
checkbox1 12345 Y APPROVE
checkbox2 78945 Y APPROVE
checkbox3 74185 Y APPROVE
checkbox4 85296 Y APPROVE

APPROVE


Answers (4)