-
Frames in ASP.Net
I am brand new to ASP.Net (and really web programming). I am developing a web site and I need to know how to implement Frames - actually the concept of frames.
Basically, I need to keep some content visible at all times. At the top, left and bottom of the page.
I know Frames are not recommended but what are my options, (strictly ASP.Net speaking).
Just a pointer in the right direction is all I need.
-
Just use a bog standard frameset tags :confused:
-
Here is some basic frame code.
Code:
<html>
<head>
</head>
<frameset cols="1*,1*">
<frame name=Frame2 >
<frameset rows="1*,1*">
<frame name=Frame1 >
<frame name=Frame4 >
</frameset>
<noframes>
<body >
<div >
<p><span >This page uses frames, but your browser
doesn't support them.</span></p>
</div>
</body>
</noframes>
</frameset>
</html>
What HTML editor are you using?
-
Please excuse my ignorance.
I am using Visual Studio .Net 2003. I thought it generated the HTML code - there was nothing for me to do in HTML.
All I want is to create non-scrolling regions - at the top, left and bottom of the screen.
-
Right now I see.
I went into VS.Net 2003 and although the frames menu item is enabled you cannot add frames to either a html page or a aspx page. I could understand it with aspx pages but not html pages.
Another way of doing it is to have a HTML table with 3 rows and 2 columns. the top, bottom rows and left columns would probabley be narrower. In the middle right cell you could put an Iframe. You can load pages in to it as a normal frame, it will scroll.
Other than this I am no further into ASP.NET than you.
-
Using the VS IDE, add a "NEW ITEM" and on the "Template" (Right Side), choose FRAMESET instead of WEBFORM or HTML PAGE.
-
There we go.
Now I know aswell.