在Page_Load里面添加所需要激活的事件 记得,别放到 if (!IsPostBack) 里面 转载于:https://www.cnblogs.com/eugene512/archive/2008/12/09/showModalDialog.html