Skip to Content
author's profile photo Former Member
Former Member

is it possible to do navigation-goto_page targeted to a frame?

Hello to everybody.

Is it possible to load a page in a targeted frame using navigation->goto_page( url )?.

As far as I know this sentence loads the new page in the same frame it is.

What I want to do is to load "url" in another determine frame.

I can get this by placing <BASE TARGET="REPORTE"> in the layout but I also want that when and event is tiggered, for example a "nodeClick" tiggered by a tree, the page brings upt to date in the same frame it was initially. With that sentence any new page will load in the frame REPORTE.

Does anyone know how can I do that?.

Thanks in advanced 😊

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2005 at 02:09 PM

    No. You cannot use the navigation object to target another frame. This is the server object. Server "does not know anything" about frames and HTTP protocol which server uses does not operate with frames.

    The "frame" is the entity of the HTML and can only be controlled from HTML (for example: by javascript or 'target' attributes).

    If you want to post something to another frame you have to create your own script.

    In your case there are in principle two ways:

    1. - Set your own script for the onclientclick attribute of the each node. This script must post something into other frame.

    2. - Generate the script in the 'tree page' after some node is clicked. This script also accesses another frame and posts something there.

    In first case - there will be no tree page refreshing after node click. Only the target page is refreshed.

    In second case - first the 'tree' refreshed - then the target frame. Seems to be more complicated, but you can add some server-side logic here.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.