IFrames in ASP.NET
-
Hi, I am using IFrame in my project (which I know some people might say frames are evil but I just don't know what best to replace it). Let say FrameLeft and FrameRight, FrameLeft is a navigation area which will cause FrameRight to switch from one page to another. The problem is when I am not at my main page and I click Refresh button, it refresh and bring me back to my main page. I found a way in HTML that it will refresh the same page last time but unfortunately due to hardware failure, I lost the codes. So I really appreciate if anyone has any idea for this. Thanks in advance. J Liang
-
Hi, I am using IFrame in my project (which I know some people might say frames are evil but I just don't know what best to replace it). Let say FrameLeft and FrameRight, FrameLeft is a navigation area which will cause FrameRight to switch from one page to another. The problem is when I am not at my main page and I click Refresh button, it refresh and bring me back to my main page. I found a way in HTML that it will refresh the same page last time but unfortunately due to hardware failure, I lost the codes. So I really appreciate if anyone has any idea for this. Thanks in advance. J Liang
I would suggest moving away from IFrames and using DIV elements to layout your page. You can achieve the same look without all of the problems which the IFrames have caused. A site called CSSPlay has a section on layouts which show some example page layouts and the relevent CSS and HTML needed to achieve the result http://www.cssplay.co.uk/layouts/[^]
-
I would suggest moving away from IFrames and using DIV elements to layout your page. You can achieve the same look without all of the problems which the IFrames have caused. A site called CSSPlay has a section on layouts which show some example page layouts and the relevent CSS and HTML needed to achieve the result http://www.cssplay.co.uk/layouts/[^]
Hi Shatchard, Thanks for the reply, been reading some articles about CSS. I was wondering whether CSS could do something like IFrame with the Tree View in the page without me including it in each of my web page. I never use CSS before, so I can't see how it can do this. Thanks. J Liang