FineUI 官方论坛
标题:
如何动态修改弹出窗体图标?
[打印本页]
作者:
huafeng
时间:
2016-1-7 23:45
标题:
如何动态修改弹出窗体图标?
我的代码如下,但是修改不了,求指导。
protected void btnEdit_Click(object sender, EventArgs e)
{
string nodeType = tvModules.SelectedNode.Target;
if (nodeType == "moduletype")
{
WindowModuleMgr.Hidden = false;
WindowModuleMgr.IFrameUrl = "ModuleTypeInfo.aspx?mode=edit&pid=" + tvModules.SelectedNodeID;
WindowModuleMgr.Title = "编辑模块分类";
WindowModuleMgr.Width = 500;
WindowModuleMgr.Height = 350;
WindowModuleMgr.Icon = Icon.Pencil;
}
else if (nodeType == "module")
{
WindowModuleMgr.Hidden = false;
WindowModuleMgr.IFrameUrl = "ModuleInfo.aspx?mode=edit&pid=" + tvModules.SelectedNodeID;
WindowModuleMgr.Title = "编辑模块";
WindowModuleMgr.Width = 500;
WindowModuleMgr.Height = 350;
WindowModuleMgr.Icon = Icon.Pencil;
}
}
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4