使用更新面板关闭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[^]
:)