Google了下,解决办法如下:
1. 在弹出窗口的 标签中增加 ,这样解决了第一个问题。
2. 在服务器端的 Page_Load 事件中增加下列语句:
Response.Cache.SetNoServerCaching();
Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
Response.Cache.SetNoStore();
Response.Cache.SetExpires(new DateTime(1900,01,01,00,00,00,00));
这样就可以清除缓存,再次激发服务器端的事件了。
文章来源于领测软件测试网 https://www.ltesting.net/










