Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > GridView > GridViewRow.IsExpandable not working for child grids

Not answered GridViewRow.IsExpandable not working for child grids

Feed from this thread
  • Aeroth avatar

    Posted on Feb 7, 2012 (permalink)

    Hi Telerik Support,

    I've seen the post http://www.telerik.com/community/forums/silverlight/gridview/gridviewrow-isexpandable-not-working-for-child-level.aspx
    and I have the same issue. Could you show me how to disable (+) sign if the row does not have any child items for the nested child grids? Thanks!

    Regards,
    Aeroth Lin

    Reply

  • Maya Maya admin's avatar

    Posted on Feb 8, 2012 (permalink)

    Hello Aeroth,

    I would recommend you to run through our demos and blog posts for a reference.  

    Greetings,
    Maya
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

  • Aeroth avatar

    Posted on Feb 8, 2012 (permalink)

    Hi Maya,

    I don't have any xaml files so how can I set GridViewRow.IsExpandable for nested child grids programmatically?

    Regards,
    Aeroth Lin

    Reply

  • Maya Maya admin's avatar

    Posted on Feb 8, 2012 (permalink)

    Hello Aeroth,

    There should be no problem to achieve the same behavior by defining everything in code-behind. What are the troubles that found on the implementation ? 

    Greetings,
    Maya
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

  • Aeroth avatar

    Posted on Feb 8, 2012 (permalink)

    Hi Maya,

    I've resolved the problem by handling child grid's RowLoaded event:

    private void _gridView_DataLoading(object sender, GridViewDataLoadingEventArgs e)
    {
    GridViewDataControl grid = sender as GridViewDataControl;
                 
                if (grid.ParentRow != null)
                {              
                    grid.RowLoaded += new EventHandler<RowLoadedEventArgs>(_gridView_RowLoaded);
                }
    }

    Regards,
    Aeroth Lin

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > GridView > GridViewRow.IsExpandable not working for child grids
Related resources for "GridViewRow.IsExpandable not working for child grids"

Silverlight Grid Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]