Previously, I utilized iframes to display an external page within our asp.net page. However, I have now decided to explore alternative methods that do not involve iframes. My goal is to open an external page within our page using only a simple aspx page with a div tag, panel, and other serverside components. Can you suggest ways to achieve this without using iframes or designing a complex control?
It is important for me to have control over the area where the external site is loaded, similar to how iframes function. However, iframes cannot be handled by ajax, resulting in page refreshes and postbacks when programmatically changing the src value using c# code. Are there alternative solutions to achieve the same outcome without iframes?
One idea I had was to make a request to retrieve HTML and display it within a div, but I encountered difficulties in implementing this approach.