Home All Groups Group Topic Archive Search About

ver 1.1 Frames Problem

Author
9 Mar 2007 11:28 PM
ges
Situation:

Top Frame shows aspx page.
Bottom Frame shows server files for reading or download with browsing
enabled for virtual sites.

Problem:

aspx page needs title of virtual browsing frame to know where user
last viewed.

ver 2.0 HtmlWindow Class would seem to provide this capability.  Any
idea how to do it in ver 1.1?

Thanks,

Marty

Author
13 Mar 2007 3:31 PM
Jani Järvinen [MVP]
Hi Marty,

> Bottom Frame shows server files for reading or download with browsing
> enabled for virtual sites. Problem:
> aspx page needs title of virtual browsing frame to know where user
> last viewed.

Couldn't you use JavaScript code for this?

That is, you can't actually control which page the bottom frame displays, if
the user is able to freely navigate with it by clicking links and so on.
Thus, you can't be sure which URL the bottom frame is displaying at any
given time in server code unless you would strip out the frames.

Ajax type of functionality could also prove useful in your situation if you
can get away without using frames.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/

AddThis Social Bookmark Button