Paging Grid: Whenwe display n rows in a paging grid, and when we select a single

Certified Senior Developer
Paging Grid: Whenwe display n rows in a paging grid, and when we select a single value, it is said that it picks up the primary key of the row and can b stored later for data retrieval purposes.
But in our case when we display the data in paging grid, and select a particular row, we are able to see that it is picking the row index instead of the primary key.
In our case the PK is a integer variable and when we display it, it shows a proper value in the grid. For eg: if my eventID (PK) is displayed it shows 5 as the value but when we select and proceed further the stored value is 1 since the number of rows displayed is only one.
Similaly, if there are 2 rows displayed and i select 2nd row value which is 5, here again the saved value is 2!
Any reason for this behavor? or do we have to make some changes?...

OriginalPostID-67600

OriginalPostID-67600

  Discussion posts and replies are publicly visible