Hi Mudassar,
I have gone through the article "Preserving state of Checkboxes while paging in ASP.Net GridView Control", this is great one and works fine with one gridview on the page but in my case I have 2 gridviews and I am unable to preserve state of first gridview after clicking in second gridview.
Please Help...
Regards,
Sanjeet
Best way would be to put the code of GridView and GridView in a usercontrol and then place 2 usercontrols on tha page
Thanks for the reply. I am using SharePoint 2010 visual webpart and can't add multiple usercontrol on my page. Also I have to read all checked items from 2 grids.
That's then difficult to maintain as you will have to maintain to Viewstate variables one for Grid1 and other for Grid2
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.