首页 新闻 会员 周边 捐助

Silverlight中DataGrid每行的RowDetail中为啥不能加多个子Datagrid

0
[待解决问题]

 

dgadmin.LoadingRowDetails += new EventHandler<DataGridRowDetailsEventArgs>(dgadmin_LoadingRowDetails);

void dgadmin_LoadingRowDetails(object sender, DataGridRowDetailsEventArgs e)
{
if (e.Row.DataContext != null)
{
ProjectInformationModel ProjectInformation
= e.Row.DataContext as ProjectInformationModel;
ID
= ProjectInformation.ID;
sc.FindProjectPersonListCompleted
+= new EventHandler<FindProjectPersonListCompletedEventArgs>(sc_FindProjectPersonListCompleted);
sc.FindProjectPersonListAsync(
" and ProjectID='" + ID + "'");
sc.FindCostPlanListCompleted
+= new EventHandler<FindCostPlanListCompletedEventArgs>(sc_FindCostPlanListCompleted);
sc.FindCostPlanListAsync(
" and ProjectID='" + ID + "'");
}
}方法

 

 

夜雨寄北的主页 夜雨寄北 | 初学一级 | 园豆:120
提问于:2010-11-24 15:50
< >
分享
所有回答(1)
0

在这些datagrid后面加一个容器吧。应该是它的下面只能出现一个子控件,当然孙控件是它的子控件的事情了。

forhells | 园豆:724 (小虾三级) | 2012-04-15 23:26
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册