2

I have a webpage with a combo box on the page which is loaded with it's data on the Page_Load event of the page.

そのページから、別のページ (同じ IE ウィンドウ内) を開くリンクがあり、ユーザーはコンボに表示されるアイテムを追加/削除できます。

The problem I have is when the user adds a new item to the combo I need this item to appear in the list on the parent page. However when I click the back button on the browser the Page_Load event on the parent page doesn't fire and the new item isn't loaded into the combo.

これを処理する最良の方法は何ですか?

ASP.NET 4.0 と IE9 を使用しています。

前もって感謝します。

4

1 に答える 1

0

javascript を使用して、新しいウィンドウで window.parent.location.refresh() を呼び出して、リロードを強制することができます。

よろしくお願いします。

于 2012-05-17T10:56:40.520 に答える