I have a partial view, which is bound to a collection of data having property called as IsDelete, used to check if the user wants to delete that specific row.
On click of button, the data comes as expected.
The problem arises as I try sorting this collection, suppose I checked the first row check and now sort the rows, even after sorting still the first row checkbox is shown as checked while the data has moved from first to some other row after perform sorting.
Hence, when I try submitting the page, I am getting that user has selected to delete first row each time in this case, instead of the actual selected row.
Note : I am doing a server side sorting, using linq and then updating the partial view