如题,单击按钮后,会实现一个对话框,好象不能用response?

解决方案 »

  1.   

    Confirm GridView Deletes with the ModalPopupExtender
    http://mattberseth.com/blog/2007/07/confirm_gridview_deletes_with.htmlResponse.Write会与ASP.NET库的封装有冲突,建议别用
      

  2.   

    Response.Write("<script>alert(\"确认\")//;</script>");
      

  3.   

    Confirm GridView Deletes with the ModalPopupExtender
    http://mattberseth.com/blog/2007/07/confirm_gridview_deletes_with.htmlResponse.Write会与ASP.NET库的封装有冲突,建议别用====对的,我发现好多东西都会有一些冲突的
      

  4.   

    实际项目中,这个用的很少么?那AJAX FOR ASP。NET 都用什么好呢?
      

  5.   

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

  6.   

    正解:ScriptManager.RegisterStartupScript(Page, e.GetType, "", "alert('确定');", True)-----
    上边的写错了!!
      

  7.   

    为什么我用ScriptManager.RegisterStartupScript(Page,   e.GetType,   " ",   "alert( '确定 '); ",   True) 
    后页面就会卡死,然后一分钟后弹出来个对话框………………
    难道跟我应用母版和accordion有关?
    闹心啊,谁帮忙解决一下啊