Frame Listener

Discussion in 'ASP .Net' started by =?Utf-8?B?c3R3QGlkc2k=?=, May 2, 2004.

  1. I am not sure how to go about creating a "frame listener" (as it is known in Java circles) in C# in ASP.Net. In essence, I to enable a parent frame to listen for, and to handle specific javascript calls from a child iFrame

    I have an asp.net page with an embedded iFrame. The initial iFrame source is determined by the parent frame UI. The iFrame content is collections of local HTML pages that provide an internal navigation system. All this is designed to provide a client review forum for CBT content

    So, the user sets the source (or initial page) for the iFrame. After that navigation is handled by the HTML (SCORM compliant CBT) links within the iFrame content disiplay

    Each HTML to be displayed in the iFrame contains a JavaScript function that provides its file name. The js function cannot be modified to accommodate simple script remoting (for example: parent.functionName()).

    Because the child page scripting cannot be modified, I need to capture the data from this function in the iFrame parent window via a socket or some other means.

    I am not familiar with sockets or remoting and I am not sure how to begin to find a solution to this challenge. Can anyone help get me started in the right direction


    Print | Copy URL of this post



    .. .


    Manage Your Profile |Legal |Contact Us |MSDN Flash Newslette
    ©2004 Microsoft Corporation. All rights reserved. Terms of Use |Privacy Statement
     
    =?Utf-8?B?c3R3QGlkc2k=?=, May 2, 2004
    #1
    1. Advertising

  2. Correction to my originl post

    The iFrame content pages contain a call to a function - not the function itself. The function will reside within the parent page.
     
    =?Utf-8?B?c3R3QGlkc2k=?=, May 2, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Søren M. Olesen
    Replies:
    0
    Views:
    611
    Søren M. Olesen
    Nov 13, 2003
  2. Microsoft
    Replies:
    3
    Views:
    719
    Hugo Wetterberg
    Oct 4, 2004
  3. JAW
    Replies:
    2
    Views:
    595
  4. jason
    Replies:
    1
    Views:
    1,358
    Damien
    Sep 5, 2005
  5. donut

    To frame or not to frame?

    donut, Aug 19, 2003, in forum: HTML
    Replies:
    4
    Views:
    414
    Alan D-W
    Aug 19, 2003
Loading...

Share This Page