Synchronizing frames

I have multiple iframes that display the same dataset (asp.net cache help).

After modifying the data in one of the frames, I would like everyone else to reflect the update without the need for an explicit postback for each one.

So the question is, what's the simplest and most elegant way to keep the iframe in this case?

Thank you in advance

+1


source to share


2 answers


I have yet to see an elegant iframe solution, but these are pragmatic solutions to specific problems. Here are some ideas:



  • Post your changes to the top level frame and rebuild all frames
  • Use custom javascript to update the required frames on changes
  • Use custom javascript to update the top level frame on changes
+1


source


Ok, I have implemented the second proposal. However, in the final solution I managed to avoid using iframes, which is much better anyway :)



Thank....

0


source







All Articles