通过整合asp.net和javascript刷新子iframe [英] refresh child iframe with integration of asp.net and javascript

查看:77
本文介绍了通过整合asp.net和javascript刷新子iframe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我对asp.net c#和iframe有问题....我注意到这些
的集成
两个分量很低...
我的情况如下:
在我的父页面中,我在一个使用updatemode = always设置的updatepanel中有一个按钮.

当我单击此按钮时,它将打开一个包含我的iframe的modalpopupextender ...
我想在ModalPopUp.show()之后刷新\重新加载我的iframe,因为那一刻

在form_load处,将创建动态控件....
我该怎么办?
浏览互联网,我读到我必须使用与我父母的javascript集成

重新加载iframe的页面...
在此先感谢

hi to all,
i have a problem with asp.net c# and iframes.... I''ve noticed that the integration of these

two components is very low...
My scenario is the follow:
in my parent page, i have a button within an updatepanel setted with updatemode=always...

when i click this button, it open a modalpopupextender that contain my iframe...
I would like to refresh\reload my iframe after the ModalPopUp.show(), beacuse in that moment

at the form_load, dynamic controls will create....
how can i do this?
Surfing the internet,i read that I must use the integration with javascript from my Parent

page to reload the iframe...
Thanks in advance

推荐答案

enricosoft写道:
enricosoft wrote:

我注意到这些整合

两个分量很低...

I''ve noticed that the integration of these

two components is very low...



它既不低也不高.您的期望和用法可能不正确.

如果您希望刷新iframe,则可以,必须采取一些措施.



It''s neither low, nor high. You''re expectations and usage are perhaps not correct.

If you want the iframe to refresh, then yes you must take some action to have it do so.


是的,我认为我不是iframe的专家,所以我刷新它并从我的母版页调用iframe的函数有很多问题.可能吗?

如果没有,单击按钮时如何从母版页刷新子iframe?

非常感谢!
Yes, i think that i''m not expert with the iframe so i''ve a lot of problem to refresh it and to call the iframe''s function from my master page... Is it possible?

If no,how can refresh my child iframe from my master page when i click a Button?

Thanks a lot!


这篇关于通过整合asp.net和javascript刷新子iframe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆