使用asp.net在父页面和弹出窗口之间传递数据 [英] passing data between parent page and popup window using asp.net

查看:109
本文介绍了使用asp.net在父页面和弹出窗口之间传递数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

如何在不回发的情况下将数据从弹出页面回发到父页面?弹出页面在Datagrid中具有包含chckboxes的数据.只需在弹出页面中单击提交"按钮,只需将在datagrid中选择的记录发送到父页面即可.

请协助寻找解决方案.

谢谢,
MSD

Hi Friends,

How to post back data from popup page to the parent page with out postback? The popuup page has the data in Datagrid which has the chckboxes.only the records which are selected in the datagrid has to be sent to parent page on the click of submit button in the popup page.

Please help in finding the solution.

thanks,
MSD

推荐答案

尝试一下.
在sumbit按钮中单击,获取选定的行并将其存储在会话中.
在首页中使用该会话
Try this one.
In sumbit button click, get the selected rows and store it in session.
Use that session in parentpage


我建​​议使用模式弹出窗口,这样您就无需使用会话.
您可以在首页中轻松找到选中的行.
I will suggest that use modal popups, by this way u dont need to use session.
you can easily fnd the checked row in main page.


这篇关于使用asp.net在父页面和弹出窗口之间传递数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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