使用更新面板关闭javascript模态弹出窗口时更新gridview [英] update gridview when javascript modal popup close with update panel

查看:67
本文介绍了使用更新面板关闭javascript模态弹出窗口时更新gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我具有带有查看按钮的gridview.它会打开javascript模态对话框,其中
用户可以更新记录.更新后,模态对话框中有一个关闭按钮,关闭模态对话框后,它返回主页,用户可以在其中查看要更新的记录.
问题是它不会更新记录..
应该怎么做???
关闭模式对话框并更新gridview记录??? :omg:
我正在使用更新面板

i have gridview with view button .it opens javascript modal dialog where
user can update the records .after updating there is close button on modal dialog after closing the modal dialog it goes back to main page where user view the record to update..
problem is that it doesnot not update the record ..
How should it be done ???
close modal dialog and update gridview records??? :omg:
i am using update panel

推荐答案

以下是您所要求的确切示例文章:
在子窗口关闭时通过AJAX(ASP.NET 2.0)对父页面进行部分更新-有条件地 [ ^ ]
:)
Here is the exact sample article of what you are asking:
Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
:)


这篇关于使用更新面板关闭javascript模态弹出窗口时更新gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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