弹出窗口 [英] Popwindow

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

问题描述

朋友,

我正在使用Web应用程序.
我在Gridview控件中有LinkBut​​ton.单击LinkBut​​ton时,它将打开弹出窗口,并在popwindow中执行一些数据库操作,然后关闭弹出窗口. ..

GridView控件(LinkBut​​ton)->父控件
(弹出窗口)->子控件.

如何处理....

请帮助我..如果有任何示例...

Hi Friends,

i am working in web application.
I have LinkButton in Gridview Control.. On Click of LinkButton It open the popwindow and i do some database operation in popwindow and close the popwindow.. then the linkbutton should be disable and second step the linkbutton should be disable while doing paging also....

GridView control(LinkButton) -->Parent Control
(Popwindow) --> Child Control.

How to handle this....

Please help me.. if any example is there...

推荐答案

您必须编写JavaScript才能禁用控件.如有必要,请使用控件的ClientID获取客户端ID.
You have to write javascript to disable your control. Use the ClientID of the control to get the client side id if needed.


看看以下内容:
Have a look at this: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
In it, after the new window is closed a partial update is executed on parent page. Instead, you just disable the link button there in Javascript itself and carry on.


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

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