Asp.net 当片段标识符更改时,强制在浏览器上重新加载页面

Asp.net 当片段标识符更改时,强制在浏览器上重新加载页面,asp.net,browser,postback,back-button,fragment-identifier,Asp.net,Browser,Postback,Back Button,Fragment Identifier,问题: 1.User clicks on this link: default.aspx#id=1. 2.The page loads, the JS from the page gets the fragment identifier (in this case id=1), and then it posts back and loads some content based on that id. 3.User then clicks on the next link: default.a

问题:

1.User clicks on this link: default.aspx#id=1.
2.The page loads, the JS from the page gets the fragment identifier (in this case id=1), and then it posts back and loads some content based on that id.
3.User then clicks on the next link: default.aspx#id=2.
4.Same as 2.
5.User clicks the back button in browser.
6.The url changes back to default.aspx#id=1 but the postback is not fired so the new content from #id=1 is not loaded again. (in other words, the page content is not refreshed)
我需要的是根据按下的#id=1 on back按钮重新加载页面。
谢谢

请将此链接[参考链接][1][1]复制如下: