FineUI 官方论坛

标题: 弹出窗体最大化 [打印本页]

作者: lemonnight    时间: 2013-8-21 22:51
标题: 弹出窗体最大化
参考以前别的同学提交的Bug:http://fineui.com/bbs/forum.php? ... 0%E5%A4%A7%E5%8C%96

目前好像还是没有解决,测试内容如下:
窗体设置了Target="Parent"后,不能再程序中控制弹出窗体最大化,去掉后在子框架中可以最大化。
窗体代码:
    <ext:Window ID="WindowEdit" runat="server" Popup="false" IsModal="true" Target="Parent"
        EnableMaximize="true" EnableResize="true" Title="订单信息" EnableConfirmOnClose="true"
        EnableIFrame="true" IFrameUrl="about:blank" Height="600px"
        Width="800px" EnableClose="true">
    </ext:Window>

控制代码:
PageContext.RegisterStartupScript(WindowEdit.GetShowReference()+WindowEdit.GetMaximizeReference());
或者在js中调用window.maximize();






欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/) Powered by Discuz! X3.4