Hyperlink & Frames

Hi,

I have a problem using a hyperlink and a frameset...
When I run the application, and click on the link, the link is displayed in
a new window...
But the strange thing is, I set the target to the target frame....

using an html

Very strang....

Thanx

John

Below the code...

<asp:HyperLink ID="hlCompanies" runat="server" CssClass="navLinks"
Target="centerFrame" NavigateUrl="~/Pages/Users/Companies.aspx">



<frameset cols="*,259,755,*" frameborder="no" border="0" framespacing="0">

<frame src="./Other/black.htm" frameborder="no" scrolling="no"
marginwidth="0" marginheight="0" id="left" />

<frame src="./Navigation/navAll.aspx" frameborder="no" scrolling="auto"
marginwidth="0" marginheight="0" id="navigation" />

<frameset rows="228,*,60" frameborder="no" border="0" framespacing="0">

<frame src="./Other/top.aspx" name="top" frameborder="no" scrolling="No"
noresize="noresize" marginwidth="0" marginheight="0" id="top" />

<frame src="./mainPage.aspx" frameborder="no" scrolling="auto"
marginwidth="0" marginheight="0" id="centerFrame" />

<frame src="./Other/bottem.aspx" name="bottem" frameborder="no"
scrolling="No" noresize="noresize" marginwidth="0" marginheight="0"
id="bottem" />

</frameset><frame src="./Other/black.htm" frameborder="no" scrolling="no"
marginwidth="0" marginheight="0" id="right" />

</frameset>
John Devlon [ Fr, 18 April 2008 22:54 ] [ ID #1945178 ]

Re: Hyperlink & Frames

I think I found the problem....

When using a frame with for example 2 columns, everything works fine.
Adding a second frameset gives a problem when linking outside the frameset
with aspx files...

Does anyone know why working with nested frames is a problem with aspx files
?

Thanx

John









"John Devlon" <Johndevlon [at] hotmail.com> schreef in bericht
news:2Z7Oj.2968$Rr7.2903 [at] newsfe29.ams2...
> Hi,
>
> I have a problem using a hyperlink and a frameset...
> When I run the application, and click on the link, the link is displayed
> in a new window...
> But the strange thing is, I set the target to the target frame....
>
> using an html
>
> Very strang....
>
> Thanx
>
> John
>
> Below the code...
>
> <asp:HyperLink ID="hlCompanies" runat="server" CssClass="navLinks"
> Target="centerFrame" NavigateUrl="~/Pages/Users/Companies.aspx">
>
>
>
> <frameset cols="*,259,755,*" frameborder="no" border="0" framespacing="0">
>
> <frame src="./Other/black.htm" frameborder="no" scrolling="no"
> marginwidth="0" marginheight="0" id="left" />
>
> <frame src="./Navigation/navAll.aspx" frameborder="no" scrolling="auto"
> marginwidth="0" marginheight="0" id="navigation" />
>
> <frameset rows="228,*,60" frameborder="no" border="0" framespacing="0">
>
> <frame src="./Other/top.aspx" name="top" frameborder="no" scrolling="No"
> noresize="noresize" marginwidth="0" marginheight="0" id="top" />
>
> <frame src="./mainPage.aspx" frameborder="no" scrolling="auto"
> marginwidth="0" marginheight="0" id="centerFrame" />
>
> <frame src="./Other/bottem.aspx" name="bottem" frameborder="no"
> scrolling="No" noresize="noresize" marginwidth="0" marginheight="0"
> id="bottem" />
>
> </frameset><frame src="./Other/black.htm" frameborder="no" scrolling="no"
> marginwidth="0" marginheight="0" id="right" />
>
> </frameset>
>
>
John Devlon [ Sa, 19 April 2008 01:01 ] [ ID #1945630 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Hyperlink & Frames

Vorheriges Thema: save generic asp.net trace information to file
Nächstes Thema: Retrieving IIS Web Site Property Value during Application_Start in ASP.NET Web app.