In paging grid if i select a single row then selection is getting saved as [,1]

In paging grid if i select a single row then selection is getting saved as [,1] (1 is the primary key) while in case of multiple selection it is getting saved as [1,2,3].Why there is a blank element in case of a single selection.This causes the breaking of my code.Any pointers to help on this?...

OriginalPostID-79758

OriginalPostID-79758

  Discussion posts and replies are publicly visible