put a static string in your page and get that value before postback
Then no need to call this method again after your gridview pagination
static string selected = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
getCheckedProduct();
}
}
In pagination time just call the string selected and use it with your requirements