Hi Support Team,
private void RadGridView_RowDetailsVisibilityChanged(object sender, Telerik.Windows.Controls.GridView.GridViewRowDetailsEventArgs e)
{
}
I have to get the Parent Row details like Employee ID, Employee Name and based on that Employee ID I need to get data from the database and bind in the child RadGridView at run time. So I would like to get the Parent Row details in this event. how to do that?
The way I am doing is following:
private void RadGridView_RowDetailsVisibilityChanged(object sender, Telerik.Windows.Controls.GridView.GridViewRowDetailsEventArgs e)
{
GridViewRow row = e.Row;
string EmployeeID= row.Cells[2].Content.ToString();
if EmployeeID= (':') == -1)
return;
else
EmployeeID= = EmployeeID= EmployeeID= (':') + 1);
this.EmployeeID= = Convert.ToInt32(EmployeeID);
}
sometimes it does not giving me Employee ID. Please help me how to get Employee ID always whenever this RowVisibilityChanged() Event fires.
Please help me.
Thanks
Laxman