在usercontrol里动态添加ScriptManager
来源:互联网 发布:智能管家机器人软件 编辑:程序博客网 时间:2024/06/16 03:09
protected override void OnInit(EventArgs e)
{
Page.Init += delegate(object sender, EventArgs e_Init)
{
if (ScriptManager.GetCurrent(Page) == null)
{
ScriptManager sMgr = new ScriptManager();
Page.Form.Controls.AddAt(0, sMgr);
}
};
base.OnInit(e);
}
- 在usercontrol里动态添加ScriptManager
- 动态添加用户控件(usercontrol)
- 如何在页面动态加载UserControl?
- 如何在UITableView里动态添加 cell
- 在LinearLayout里动态添加子布局
- 高技术! 动态加载切换Ajax模式!! , 动态添加ScriptManager,UpdatePanel
- .net webform 如何在UserControl里链接css和js
- 在布局页面“文章页面中”添加,自定义UserControl
- vb.net 如何在同一页面,添加相同的usercontrol
- 在表格里动态添加图片的方法:
- WPF 动态加载usercontrol
- 动态加载 usercontrol
- 动态加载UserControl~
- 在RadioGroup动态添加RadioButton,在构造方法里添加style。
- DataGridView里动态添加comboBox
- <select>里动态添加option
- <select>里动态添加option
- <select>里动态添加option
- Linux系统手动安装rz sz 软件包
- [数据库字典]简单的3个SQL视图搞定所有SqlServer数据库字典
- amf抓包利器:Charles
- C++跨平台开发心得小结
- tomcat日志分析工具awstats配置
- 在usercontrol里动态添加ScriptManager
- 精彩PuTTY 中文教程
- Linux虚拟机安装
- getRealPath
- 数组元素随机排序
- 123123
- mysql4以后出现的sql语句
- PPC中如何判断网络已经连接或者断开
- 关于VS2008下的exe(MFC.exe)转成dll的leo成功完成