UserControl uc = ((UserControl)Master.FindControl("Header1")); 这个为什么不行? 在线等
UserControl uc = ((UserControl)Master.FindControl("Header1"));
我一个页面引用了母板页,在母板页里放了个自定义控件。在自定义控件中定义了属性,事件种种可访问类型的东西。。
然后我再页面想访问 UserControl uc = ((UserControl)Master.FindControl("Header1"));
uc. 为什么点不出来啊 ? uc.........
请大家多帮忙