you will have to resort to javascript for this. asp.net doesnt have the
concept of frames and the page has no information on whether it is loaded in
a frame or on a normal window (either way a frame is just a window)
if (parent.frames.length = 0) {
parent.location.href = "your_frameset.aspx or html page"
}
--
Regards,
Hermit Dave
(
http://hdave.blogspot.com)
"Guadala Harry" <GM**@NoSpam.com> wrote in message
news:eq*************@TK2MSFTNGP11.phx.gbl...
I have some pages that open in a frameset. I want them to be opened *only*
in the frameset (and not on their own). How can I disallow a page from
being opened on its own (i.e., allow to be opened only when from within
frameset)?
Thanks!
-G