aspx page in iframe reloading issues
-
Hi, I am having two iframes on a page, the top one contains a select box and the bottom one holds a aspx page depending on the selection of list item in the select box. So, it should always reload the bottom iframe whnever an item is changed in the selectbox and for that i am using reload() to reload the aspx page. And the expected behavior is it should get refreshed (i.e. no postback) But the acutal behavior happening in my case is its throwing this "to display the webpage again the IE needs to resend the information back ..." alert and when click on cancel or retry buttons on the alert its now doing a postback which is not expected. If anybody have any clues, please post them
-
Hi, I am having two iframes on a page, the top one contains a select box and the bottom one holds a aspx page depending on the selection of list item in the select box. So, it should always reload the bottom iframe whnever an item is changed in the selectbox and for that i am using reload() to reload the aspx page. And the expected behavior is it should get refreshed (i.e. no postback) But the acutal behavior happening in my case is its throwing this "to display the webpage again the IE needs to resend the information back ..." alert and when click on cancel or retry buttons on the alert its now doing a postback which is not expected. If anybody have any clues, please post them
Please show me how you are doing the refresh operation.
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript -
Please show me how you are doing the refresh operation.
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascriptthis is how I am reloading the aspx in that frame. top.pageContainer.location.reload() One more thing, the problem is seen if there were any postbacks registered in the aspx page. I mean, it works as expected(reloads the page without postback) when there are no postbacks registered on the aspx page. But once a postback event is done on the aspx and try to reload the page it throws that message and postbacks. I thnk this is because, its caching that postback event. But for now, i found the hack... instead of doing a location.reload() i am doing this top.pageContainer.location = top.pageContainer.location.href as pointing to a new url (but pointing the same one) this one solves the problem for now.