Trigger an event on a different frame

Discussion in 'ASP .Net' started by dana lees, Aug 25, 2004.

  1. dana lees

    dana lees Guest


    I'm writing a C# web application.

    I have a frameset in which the upper frame contains a "print" button and the
    lower frame contains content of a different domain. Since i cannot call
    window.print() in another domain, i'm trying to trigger an event in my lower
    frame that will call window.print() itself...
    How can i do that?

    How can i call an event on another frame in my application?


    dana lees, Aug 25, 2004
    1. Advertisements

  2. dana lees

    Biju Guest


    parent.<name of lower frame>.window.print();
    Biju, Aug 25, 2004
    1. Advertisements

  3. dana lees

    dana lees Guest


    I am doing this but because the lower frame is in a different domain i get a
    "permission denied" error...
    That's why i'm trying to call an event in the lower frame that will call

    dana lees, Aug 25, 2004
  4. Hi,

    Pretty difficult....

    You could rip the content of the page with server/client code & display as
    yer own and print at will... hmm :)

    Best Regards
    Vidar Petursson
    Microsoft Visual: Scripting MVP 2000-2004 Instant e-commerce
    Playground: ( IE 5.5+ only )

    No matter where you go there you are
    Vidar Petursson, Oct 23, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.