Re: HttpWebRequest Not Supporting Frames (example included)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Joerg Jooss (joerg.jooss_at_gmx.net)
Date: 03/27/04

  • Next message: Henry: "Re: DataGrid Column"
    Date: Sat, 27 Mar 2004 22:19:45 +0100
    
    

    Chris Crabtree wrote:
    > ok,
    >
    > So I ran into this problem today with HttpWebRequest and a website
    > using framesets. I get the response "This page uses frames, but your
    > browser does not support them."
    >
    > The only post I can find on the web regarding this issue suggest
    > setting the UserAgent property to a recognizable browser, so I traced
    > IE 6 and added the same UserAgent string that it uses. No avail. I
    > imagine that there must be something wrong with the way I'm doing
    > this. It appears to be happening with any website I try that uses
    > frames. Since there is so little mentioned of this problem on the
    > net, it must be me, I highly doubt I've discovered some big problem.
    [...]

    It's you ;-)

    http://longhorn.msdn.microsoft.com for example returns nested HTML frameset
    with the frames "navbar", "panel_header", and "panel". It's up to the client
    (your code) to load these individual frames using their "src" attributes.
    That's exactly what your browser would do in this case.

    Cheers,

    -- 
    Joerg Jooss
    joerg.jooss@gmx.net
    

  • Next message: Henry: "Re: DataGrid Column"

    Relevant Pages

    • HttpWebRequest Not Supporting Frames (example included)
      ... So I ran into this problem today with HttpWebRequest and a website ... I get the response "This page uses frames, ... setting the UserAgent property to a recognizable browser, ... discover any means to overcome this issue. ...
      (microsoft.public.dotnet.languages.csharp)
    • SHDocVw.InternetExplorer: clicking a link with no effects
      ... problems doesn't use frames. ... actually happens is the browser start browsing (you can see the ... always even on the same links on this website. ... that DocumentComplete event fired too. ...
      (microsoft.public.inetsdk.programming.webbrowser_ctl)
    • Frames and browser settings
      ... Can a version of IE, or an IE setting, affect the behavoir of frames? ... my colleague accesses the website, only some of the framesets ... and you no longer see the banner or nav frames. ...
      (microsoft.public.frontpage.client)
    • Re: Frames
      ... OS is Windows XP browser is IE version 6 and i have reset security to medium .. ... Your user agent (browser) does not support frames or is currently configured not to display frames. ... sylv wanting to view a website ...
      (soc.genealogy.computing)
    • Re: Slow Downloads
      ... The link I provided was for Broadband Reports, not Cox. ... comfortable switching from IE to another browser. ... Are there any Web sites that cause no problems at all? ... America's website takes a long time to load. ...
      (microsoft.public.windowsxp.general)