Hello Kashif,
You can use the following code snippet to get the value from the GridRowHeaderCellElement:
private void RadGridView1_CellClick(object sender, GridViewCellEventArgs e)
{
int value = e.RowIndex + 1;
RadMessageBox.Show(value.ToString());
}
I hope this helps. Should you have further questions, I would be glad to help.
Regards,
Nadya
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.