2012年3月15日
摘要: 用户控件调用父页面的方法: //获得父页面 Pagep=this.Parent.Page; TypepageType=p.GetType(); //父页面的方法名 MethodInfomi=pageType.GetMethod("Loading"); //执行 mi.Invoke(p,newobject[]{"参数1","参数2"}); 用户控件与用户控件之间调用: //获得父页面 Pagep=this.Parent.Page; //获得父页面的子控件 UserControluc=p.FindControl("tj_Rece 阅读全文
posted @ 2012-03-15 21:36 QZB.NET 阅读(167) 评论(0) 推荐(0) 编辑