在使用UpdatePanel的时候,alert对话框始终弹不出来,后来到网上查阅资料,O(∩_∩)O哈哈~终于找到正确答案:
UpdatePanel弹出对话框(Author:myssh)ScriptManager.RegisterStartupScript(this, this.GetType(), "", "alert('请先删除对应的小类!!')", true);转载于:https://www.cnblogs.com/myssh/archive/2009/04/07/1430923.html