This question is locked. New answers and comments are not allowed.
Hi,
I have a gridview that is bound to a list of my business objects. I am using the following line of code to get each row of the gridview that pertains to each of the bound business object.
I have a gridview that is bound to a list of my business objects. I am using the following line of code to get each row of the gridview that pertains to each of the bound business object.
var
row = this.rgvFlightsTargeting.ItemContainerGenerator.ContainerFromItem(currFlight) as Telerik.Windows.Controls.GridView.GridViewRow;
where 'currFlight' is one object and 'rgvFlightsTargeting' is my gridview. Now if I group this gridview by a column, the above line of code will sometimes return a null (staring with the first time, I suppose because of the group header row). How do I handle this issue?
I am new to telerik controls so still trying to find my way around.
Thanks in advance!