Results 1 to 4 of 4

Thread: [RESOLVED] Response.BinaryWrite within iframe

  1. #1
    Fanatic Member davebat's Avatar
    Join Date
    Dec 02
    Posts
    727

    Resolved [RESOLVED] Response.BinaryWrite within iframe

    I'm working on a site that is quite strange in it's set up, but it is what it is....

    ....Anyway, a page on site A has an iframe opening a page on site B. The IFrame displays info about a file stored outside the website of Site B but in the c:\root of the site B server.

    The page on site B has a button which uses a filestream to open, and present the file dialog box to the user.

    Whn accessing the site B page directly the file is served successfully, when pressed within the iframe, nowt happens.

    Any ideas please?

  2. #2
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 04
    Location
    The Granite City
    Posts
    21,729

    Re: Response.BinaryWrite within iframe

    Hello,

    You are likely running into a cross site problem where the browser is actually preventing access to the file. Are there any warnings in the browser?

    Gary

  3. #3
    Fanatic Member davebat's Avatar
    Join Date
    Dec 02
    Posts
    727

    Re: Response.BinaryWrite within iframe

    My client doesnt have the problem, I think what has happened is that the test site I was looking at didnt have the files on the server, although had a record for them in the database.

    Thanks Anyway

  4. #4
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 04
    Location
    The Granite City
    Posts
    21,729

    Re: [RESOLVED] Response.BinaryWrite within iframe

    Glad to hear that you got it sorted!

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •