W3bbo wrote:

odujosh wrote:
Yep do not use IFrames. By using them you do not really understand ASP.NET. Its a defunct tag.


Not necessarily, there are legitimate uses for inline frame behaviour.

OnErrorDoThis wrote:


I too was stuck in the iframe world.

I recommend :

It'll be hard but stop using iframes. Use <DIV> with IDs instead.

Get your data by XMLHttpRequest ( http://en.wikipedia.org/wiki/XMLHttpRequest ) and fill your <DIV>(s) with data from the reuqeut via JavaScript for example with "innerHTML".

This way, you will be able to control everything and "fill" "at will".

If you need scrolling in your boxes, You can still do that without iframes, <DIV> tags are capable of having both H/V scrollbars.



Learn CSS first Wink

a) the <div> element does not have an uppercase tagname
b) any element can have scrolling behaviour
c) your proposal breaks if client scripting is disabled, bad.


Like not learning some real intersite interop technology like web services. Using Iframes is a hack.