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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top