tutorial on IFrames

Hello,

I am creating a web application using C#. I want to have 2 frames. Frame1 to display a navigation bar (left frame) and Frame2 (right frame) to display the contents of the web pages. Webform1 and webform 2 respectively

I have been using frameset but having difficulty using it. As sometimes frame1 will appear where frame2 should be then the pages is refreshed.

I have a main webform, and then the 2 other web forms that are contained in the main webform.

my html code for the main webform.

<frameset frameboarder="1" framespacing="0" boarder="1" cols="30%,70%">
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"frame1.aspx"/>
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"frame2.aspx"/>
</frameset>

The help l need is, does anyone know of any good tutorials where Iframes are covered in easy to understand examples. That will do what l what theme to do.

Many thaks in advance,

SteveTry this: Give you frame a name
<frameset frameboarder="1" framespacing="0" boarder="1" cols="30%,70%">
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"frame1.aspx" name="navigation" />
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"frame2.aspx" name="main" />
</frameset>
and in your links, give them target("framename")
<a href=http://www.webdeveloper.com/forum/archive/index.php/"URL" Target="navigation">Link</a>
The "Target" URL is same in <asp:HyperLink>.
Hope this helps;
 
Back
Top