从iframe页面访问父页面控件 [英] access parent page control from iframe page

查看:82
本文介绍了从iframe页面访问父页面控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我的页面名称为account.aspx,其中包含要在其他页面名称上打开的iframe
accpopup.aspx,accpopup.aspx页包含treeindex,从treeindex中选择(双击)帐户名后,我不会将数据从accpopup.aspx页传输到account.aspx页

我怎样才能从accpopup.aspx页面访问account.aspx中的控件

单击名称frpm treeindex后,我将这段代码尝试插入popup.aspx页面 控件c = TreeIndex.Parent.Parent.Parent
但它仅在popup.aspx页内获取控件

我希望这很清楚
任何帮助

谢谢>>>>

hello all
i have page name account.aspx that contain iframe to open onother page name
accpopup.aspx ,accpopup.aspx page contain treeindex ,i wont transfer data from accpopup.aspx page to account.aspx page after choose(double click) account name from treeindex

how can i reach to controls into account.aspx from accpopup.aspx page

i try this code into popup.aspx page after click on name frpm treeindex
Control c = TreeIndex.Parent.Parent.Parent
but its get only controls inside popup.aspx page

i hope that is clear
any help

thanks>>>>

推荐答案

以下链接对访问父表单数据很有用.

http://msdn.microsoft.com/en-us/library/cc150846.aspx [ ^ ]

http://www.pxl8.com/iframes_3.html [
Following links will be useful to access parent form data.

http://msdn.microsoft.com/en-us/library/cc150846.aspx[^]

http://www.pxl8.com/iframes_3.html[^]

Hope this will help!


你好,穆罕默德·萨德克511

您是否找到了解决方案…….
Hello, mohammed sadeq511

Have you find a solution for this....


这篇关于从iframe页面访问父页面控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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