如何在转发器中显示嵌套弹出窗口 [英] how to show nested popup in repeater

查看:67
本文介绍了如何在转发器中显示嵌套弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在同一弹出窗口中显示登录和注册表单,在这种情况下,

用户将能够在同一弹出窗口中登录并注册他/她自己,并且应该在单击时调用该弹出窗口图像按钮放在asp.net中的转发器控件内。

解决方案

参考我之前的回答 - 如何在转发器上显示弹出窗口 [ ^ ]。

引用:

两个选项。

  1. 调用 JavaScript 单击 ImageButton 时的功能,在该函数内部,在 jQuery 的帮助下打开一个Popup(这很容易)。示例 - 显示jQuery UI模式弹出窗口按钮单击示例 [ ^ ]
  2. 实施 Ajax ModalPopupExtender as在这个问题中解释 - 带中继器的模态弹出窗口 [ ^ ]


i want to show login and registration form on same popup window , in this case the
user will able to login and registered him / herself on the same popup and that popup should be called on click of image button which is placed inside the repeater control in asp.net.

解决方案

Refer my previous answer - how to show popup on the repeater[^].

Quote:

Two options.

  1. Call a JavaScript function on click of ImageButton and inside that function, open a Popup with the help of jQuery (which will be easy). Example - Show jQuery UI Modal Popup Window on Button Click with Example[^]
  2. Implement Ajax ModalPopupExtender as explained in this question - Modal Popup with Repeater[^]


这篇关于如何在转发器中显示嵌套弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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