This question is locked. New answers and comments are not allowed.
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
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
4 Answers, 1 is accepted
0
Hello Aeroth,
Maya
the Telerik team
I would recommend you to run through our demos and blog posts for a reference.
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 >>
0
Aeroth
Top achievements
Rank 1
answered on 08 Feb 2012, 07:50 AM
Hi Maya,
I don't have any xaml files so how can I set GridViewRow.IsExpandable for nested child grids programmatically?
Regards,
Aeroth Lin
I don't have any xaml files so how can I set GridViewRow.IsExpandable for nested child grids programmatically?
Regards,
Aeroth Lin
0
Hello Aeroth,
Maya
the Telerik team
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 ?
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 >>
0
Aeroth
Top achievements
Rank 1
answered on 08 Feb 2012, 09:01 AM
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