I can imagine two possible solutions:
1. Create your own datagrid deriving from asp.net datagrid and put this
behavior on it (showing a special message when empty). I guess it's a more
generic solution for the problem.
2. write code on the OnItemCreated event of your parent datagrid and get the
child instance from the Controls collection. At this time, you can do
whatever you want with the child grid (hide it, for example).
"Dave" <davet65109hotmail.com> wrote in message
> I have a DataGrid nested within another DataGrid whose
> DataSource is Container.DataItem.CreateChildView
> ("RelationName"). In some cases, there ...