【发布时间】:2009-06-10 05:26:11
【问题描述】:
我正在使用带有自定义 onclick 鼠标事件的 ASP.net 表单来修改数据值。单击并更新值后,表单的一个 div 部分执行回发。
onclick="__doPostBack('ctl01$phCon1$gridReports','sel1')"
This is working well, however when the browser BACK option is selected, the browser opens goes through the history of the DIV ajax/onclick actions prior to going back to the prior URL.
我怀疑这可能是由于 doPostBack 被视为浏览操作。有没有办法执行必要的 ASP.net 代码事件以使页面工作,但没有将操作存储在浏览器历史记录中?
【问题讨论】:
标签: asp.net ajax asp.net-ajax