I have used below link for Persisting selection and its working fine till here:
Now the problem is, I have multiple ClientDataKeyNames="ID, IP, Port" and grid contains multiple records for one ID and one IP value, but in combination of ID and IP, record is unique.
So when I select few rows from 1st and 2nd page of grid, it selects all rows where IP and ID is matched. Say I have selected 3 rows from 1st page and 4 rows from 2nd page
[ID: 100 IP: 0.0.0.0] [ID: 100 IP: 220.127.116.11] [ID: 100 IP: 18.104.22.168]
[ID: 200 IP: 0.0.0.0] [ID: 200 IP: 22.214.171.124] [ID: 200 IP: 126.96.36.199] [ID: 200 IP: 188.8.131.52]
(other than these 7 records, these IPs and IDs records are associated with other IPs and IDs)
Expected result: it should select 7 unique rows in all but it selects more than that. it selects all the records with above mentioned IP and IDs
Hope I'm able to explain my problem.