请教,WebUserControl,DataGrid,DropDownList的问题
WebUserControl1.ascx上有DataGrid1,
DataGrid1上有一个模板列DropDownList1,
我想在页面被打开时就把数据绑定到dropdownlist1上,请问怎么做?
我在DataGrid1_ItemDataBind事件中写e.Item.FindControl("DropDownList1"),这样都找不到控件,为什么?
还有,WebUserControl1.ascx是放在default.aspx的placehoder上,并是动态加载上去的.
自己晕了,问题好像很复杂,表达出来觉得不是很清楚.