I have the following scenario.
Page A {
IFrame {
Page B
}
}
When the user clicks on a button on Page B, I need to force an 'update panel' on Page A to do a postback (so it can refresh). However, there seems to be no way to get access to Page A from Page B. The 'parent' property is null, and so is 'previous_page' which I think is a bug because I would have thought that since the IFRAME loaded PageB, at least PageBs 'parent' property would have been set to the iframe.
I have tried using cross page posting to get previous_page to work. However, if one sets up cross page posting, the _target property of page B no longer points to the Iframe and the page loads in a new window (kind of defeating the purpose of ajax really).
The only solution I can think of is to force the browser to reload page A (or even the whole site)- but how does one do this from within page B ?
If possible, I need to put the solution code inside the 'button_click' function in the code behind page for page B.
TwoSeven.