从弹出窗口读取值并关闭Popup窗口后,应该发回消息 [英] Post back should happen after reading values from popup and closing thePopup window

查看:50
本文介绍了从弹出窗口读取值并关闭Popup窗口后,应该发回消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好....

我正在使用链接按钮进行回发..

i希望显示弹出窗口并希望用户在填写之前填写一些数据回复...

i希望在客户端读取该数据,并且应该能够回发..

有人可以帮我这里..





谢谢..!

Hi all....
i'm using a link button for postback..
i want to display a popup window and wants user to fill some data before postback...
i want to read that data at client side and should be able to postback..
could someone help me here..


Thank You..!

推荐答案

在Div中编写控件并实现属性OnClientClick = 返回JavascriptFunctionName()用于linkbutton并编写Javascript函数以显示Div并点击Div内部的关闭按钮读取客户端的所有值并进行回发。



那就是全部。
Write your controls inside a Div and implement property OnClientClick="return JavascriptFunctionName()" for linkbutton and write Javascript function to show the Div and on click of close button inside the Div read all values at client side and do postback.

That's All.


您应该使用 - Ajax ModalPopupExtender [ ^ ]。

有关完整的文章 - ASP.NET AJAX控件工具包ModalPopupExtender控件在行动 [ ^ ]。



请先阅读属性和文档。然后尝试一下。
You should use - Ajax ModalPopupExtender[^].
For a complete article - ASP.NET AJAX Control Toolkit ModalPopupExtender Control in Action[^].

Please read the Properties and Documentation first. Then try it out.


这篇关于从弹出窗口读取值并关闭Popup窗口后,应该发回消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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