后台代码添加用户自定义控件

来源:互联网 发布:CodeIgniter 知乎 编辑:程序博客网 时间:2024/05/23 17:42
UserControl ctl = Page.LoadControl("~/xxx/x.ascx") as UserControl; Page.Form.Controls.Add(ctl ); 

原创粉丝点击