使用Jquery easyUI在aspx中弹出新页面 [英] PopUp new page in aspx using Jquery easyUI
本文介绍了使用Jquery easyUI在aspx中弹出新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好。我正在使用Jquery easyUI在ASPX中打开对话框新页面。
Hi everybody. I am using Jquery easyUI to open dialog new page in ASPX.
$('<div class="easyui-dialog" style="width:900px;height:600px"></div>')
.html('<iframe id="myFrame" width="100%" height="100%" frameborder="0" src= "App_form/ktht/kt_ma_tk.aspx" marginwidth="0" marginheight="0"></iframe>')
.dialog({
title: "",
closed: false,
cache: false,
modal: false
});
$ b $bBút有问题,它加载页面kt_ma_tk两次
Bút ít have a problems, it load page kt_ma_tk two times
if (!IsPostBack)
{
// It run double
}
我不明白为什么
感谢支持
I dont understand why
Thanks to support
推荐答案
(' < div class =easyui-dialogstyle =width:900px; height:600px >< / div>')
.html(' < iframe id =myFramewidth =100%height =100%frameborder =0src =App_form / ktht / kt_ma_tk.aspxmarginwidth =0marginheight =0>< / iframe>' )
.dialog({
title: ,
C丢失: false ,
cache: false ,
modal: false
});
('<div class="easyui-dialog" style="width:900px;height:600px"></div>') .html('<iframe id="myFrame" width="100%" height="100%" frameborder="0" src= "App_form/ktht/kt_ma_tk.aspx" marginwidth="0" marginheight="0"></iframe>') .dialog({ title: "", closed: false, cache: false, modal: false });
$ b $bBút有问题,它加载页面kt_ma_tk两次
Bút ít have a problems, it load page kt_ma_tk two times
if (!IsPostBack)
{
// It run double
}
我不明白为什么
感谢支持
I dont understand why
Thanks to support
这篇关于使用Jquery easyUI在aspx中弹出新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文