Assigning few columns of grid to dynamic child object

2 posts, 0 answers
  1. srinivasulu
    srinivasulu avatar
    1 posts
    Member since:
    Oct 2015

    Posted 22 Jun Link to this post


    I have Activity object which has childActivity which is a dynamic data type.

    DataSource to grid is list of Activity.

    How can assign few columns of grid with values of child object.

    I was trying like below code.

     col.UniqueName = item.Name;

    col.HeaderText = item.DisplayName;
    (col as GridDateTimeColumn).DataField =  Activity.childActivity.Name;


  2. Viktor Tachev
    Viktor Tachev avatar
    1488 posts

    Posted 27 Jun Link to this post


    Please try the approach described in the following scenario. It targets a scenario that is similar to the one you describe.

    Viktor Tachev
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top