从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....