use rowInfo.ChildRow.ChildViewInfo Q2 2012

2 posts, 1 answers
  1. ms
    ms avatar
    8 posts
    Member since:
    Oct 2012

    Posted 19 Oct 2012 Link to this post

    hello how i can convert this Code to Q2 2012 


    Thank you 
    Mahmoud Salem
  2. Answer
    Jack avatar
    2333 posts

    Posted 19 Oct 2012 Link to this post

    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.
    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.
Back to Top