This is a migrated thread and some comments may be shown as answers.

use rowInfo.ChildRow.ChildViewInfo Q2 2012

1 Answer 21 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ms
Top achievements
Rank 1
ms asked on 19 Oct 2012, 06:43 AM
hello how i can convert this Code to Q2 2012 

rowInfo.ChildRow.ChildViewInfo

Thank you 
Mahmoud Salem

1 Answer, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 19 Oct 2012, 03:39 PM
Hello Mahmoud Salem,

This code is still valid when using Q2 2012. However, RadGridView uses different row types depending on the underlying data source. This property is available only when using hierarchy and you should convert the GridViewRowInfo instance to GridViewHierarchyRowInfo. Here is a sample:
GridViewHierarchyRowInfo hierarchyRow = row as GridViewHierarchyRowInfo;
GridViewInfo info = hierarchyRow.ChildRow.ChildViewInfo;

I hope this helps.
 
Regards,
Jack
the Telerik team
You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
Tags
General Discussions
Asked by
ms
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or