将数据从子窗口传递到父窗口 [英] pass data from child window to parent window

查看:90
本文介绍了将数据从子窗口传递到父窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在Visual Studio 2010 asp.net中断页面刷新中将数据从子窗口传递到父窗口.
帮助帮助

i can''t pass data from child window to parent window in visual studio 2010 asp.net whitout page refresh.
HELP HELP HELP

推荐答案

您好,

什么不起作用?您是否尝试过使用 Session/Cache/QueryString/Cookies/Page.PreviousPage(Property)或其他功能?

如果数据非常小,则可以通过QueryString传递数据;如果数据很关键,并且不希望用户在Post方法中查看,则可以使用Session变量.

因此,从以上所有状态管理机制中选择正确的方法都取决于您的要求.

希望您可以通过上述方法之一完成工作.

谢谢
-Amit Gajjar
Hi,

What''s not working ? have you tried with Session/Cache/QueryString/Cookies/Page.PreviousPage(Property) or what else ?

If you have very small data then you can pass it through the QueryString, if you have critical data and do not want users to view in the Post method then you can use Session variable.

So choosing correct from all above state management mechanism is all depend upon your requirement.

Hope you can get your work done through one of the above.

Thanks
-Amit Gajjar


您可以使用状态管理技术来传输数据.
You can use state management techniques to transfer data.


您可以查看以下教程

将页面值传输到另一个页面 [ http://www.netrostar.com/How-从一个页面到另一个ASPNET中传递数据 [
You can look over the following tutorials

Transferring page values to another page[^]

http://www.netrostar.com/How-to-pass-data-from-one-page-to-another-in-ASPNET[^]

Hope this will give idea about your answer...


这篇关于将数据从子窗口传递到父窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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