This question is locked. New answers and comments are not allowed.
How can i access selected row in controller or suggest the better approach for my requirement i.e. I have 2 or more grids, i need selected row(id column from each grid) for all the grids, i need to submit the form with these selected values.
I tried below way
.RowAction(row => row.Selected = row.DataItem.RegistrationProfileId.Equals(Model.SelectedProfileId)) for some reason selectedProfileId is 0 all the time. is there any way to store and persist this value
Attached the screen shot of my page
1. The 2nd grid is the partial view or user control because it has some external filtering functionality
2. I used server side selection to maintain the selection between the postbacks(for above filtering)
so basically i need to submit the selected values to the controller action.
I tried below way
.RowAction(row => row.Selected = row.DataItem.RegistrationProfileId.Equals(Model.SelectedProfileId)) for some reason selectedProfileId is 0 all the time. is there any way to store and persist this value
Attached the screen shot of my page
1. The 2nd grid is the partial view or user control because it has some external filtering functionality
2. I used server side selection to maintain the selection between the postbacks(for above filtering)
so basically i need to submit the selected values to the controller action.