We know master pages are a strong feature, so why are many sites developed using iframes? For every request an iframe is downloaded from the server which in turn increases the overhead on the server instead if we use master page only the ContantPlaceholder part is processed by the server.
We know master pages are a strong feature, so why are many sites developed
Share
You are right,
iframesare put extra load on the server and master pages are more efficient. But there are some cases where iframes are necessary. One of the biggest uses foriframesis to display content that is hosted on separate domain. For example, facebook apps are often displayed iniframesso that their content can be hosted on a domain.Some legacy applications use frames extensively as a design model and include JavaScript to allow frames to communicate. This is generally considered bad design and can often be replaced with master pages in a way that is much easier to understand.