日期:2014-05-18  浏览次数:20370 次

UpdatePanel中如何实现“确认”对话框????
如题,单击按钮后,会实现一个对话框,好象不能用response?

------解决方案--------------------
Confirm GridView Deletes with the ModalPopupExtender
http://mattberseth.com/blog/2007/07/confirm_gridview_deletes_with.html

Response.Write会与ASP.NET库的封装有冲突,建议别用

------解决方案--------------------
正解:

ScriptManager.RegisterStartupScript(Page, Page, e.GetType, " ", "alert( '确定 '); ", True)