Instruction, but I'm not sure if it'll work here. Why does the above behaviour occur? Is it simply that the IFrame is considered in focus, so any refreshes only apply to it? Is there any way to programmatically refresh the whole page, without using JavaScript? I'm aware of adding an HTTP header with a refresh Let’s say you have an iframe of captcha that enables the user to refresh it and serves different security code every time. 'Hard refreshing' (CTRL+F5) refreshes the parent page and the IFrame (which is what I want). First, iframe realizes partial refresh method one When the point A1 displays the contents of the A1.html in the iFrame, the contents of A2.html are displayed in the iFrame when point A2. There are times when you want to refresh the content of an iframe and reload the page in it, without refreshing that of the main page, and it can be achieved with a tiny property of iframe, src. Pressing the browser's refresh button (F5) only refreshes the error page. The thing is, I can't really provide a link, as there will be values in the source URL that I won't have access to, and the But the iframe isn't updated unless i explicitly right-click inside the frame and manually select refresh. It does get the latest data from the external site and its saved in 'somepage.html'. to throw a new Exception in such an event, which is bubbled up to Application_Error, which redirects to an error page with a suitable error message.Īt this stage, I'd like to be able to auto-refresh the page or give the user a link to re-initialise the IFrame (i.e. My problem is that when i refresh the main page, i want the iframe to also display the latest data. Values are lost, which causes problems when trying to access them. After 20 minutes of inactivity, obviously the session Some features are dependent on session values, which are initialised on the first load of the source URL specified in the tag on the consuming page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |