Target property of ASP hyperlink?

R

Rob R. Ainscough

Is there a way to specify a frameset (HTM) frame in the Target property?

Rob.
 
S

Steve C. Orr [MVP, MCSD]

No, you must use client side JavaScript to accomplish this.
I warned you about this kind of thing.
;-)
 
R

Rob R. Ainscough

Steve,

You appear to be incorrect, I just entered the "main" (frame name) in the
Target property for the ASP hyperlink and it works perfectly.

Overview:
Frameset that contains 4 frames (header, content, main, footer) (Main.HTM)
in Main.htm (frameset) 3 ASP WebForm pages (grid layout) 1 assigned to
header, 1 assigned to content, 1 assigned to footer, nothing assigned to
main
In the ASP web forms, the ASP hyperlinks NavigateUrl is set to the
appropriate .aspx page, the Target property of the ASP hyperlink is set to
"main" (or whatever frame name one uses in Main.HTM (frameset).

It really is that simple -- no JavaScript needed and all session variables
intact.

Something as basic as frames/page navigation, it did seem odd to me that I'd
have to resort to JavaSript.

Rob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top