弹出控件. [英] Popup Control.

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

问题描述



我要在单击链接按钮时显示一个弹出窗口.
用户需要从该弹出窗口中选择一些值,然后将其关闭.

文本框应包含选定的值.

请注意,我已经使用gridview创建了popupwindow,并在其中放置了一个按钮模板.

每当用户单击链接按钮时,都会调用我的openpopup脚本,并且打开弹出窗口.

当用户选择某个值(按钮)时,它应该反映在文本框中,但是在我的情况下,这是在第二次单击时发生的.

请帮助解决此问题.



[为清晰起见和语法进行编辑]

Hi,

I want to display a popup window onclick of a link button.
The user needs to select some value from that popup which then closes.

The textbox should contain the selected value.

Note that I have created popupwindow with gridview in which I have placed a button template.

Whenever the user clicks on linkbutton my openpopup script gets called and the popup gets opened.

When user selects some value(button) it should be reflected in the textbox but in my case this is happening on second click.

Please help to resolve this.



[edit for clarity and grammar]

推荐答案

请更新您的问题并加以澄清,并在可能的情况下发布一些代码以便一起查看它
Please update your question and clarify it, and if possible post some of the code in order to review it together


我想我理解您的问题,但是需要查看代码的相关区域才能继续进行操作,并查看问题所在.

请发布代码.
I think I understand your problem, but need to see the relevent area of code in order to follow it through and see where the problem lays.

Please post the code.


这篇关于弹出控件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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