韩言福地

只有想不到的,没有办不到的。 - HY Auspicious Place

« asp.net 2.0 缓存(页面输出缓存) Checkbox全选的控制 »

asp.net ajax 使用updatepanel alert提示方法


原来要使用ScriptManager的静态方法 RegisterStartupScript 来实现调用。

   
   ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(), "updateScript", "alert('保存成功')", true);

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Copyright 2007-2010 www.yinrg.com(HY Auspicious Place) . 湘ICP备06007796号.