none
.Net WebBrowser Control doesn't display all of a web page RRS feed

  • Question

  • Hi.

    I'm trying to use the webrowser control in vb .net.

    Using VS Community 2017.

    The browser emulation for the .exe is set to 11001.

     

    I navigate to 'https://www.nationalgeographic.com/photography/'; I see the page as I do in Edge.

     

    I select 'Galleries' and then choose 'https://www.nationalgeographic.com/photography/your-shot/photos-of-the-week/2019/06/best-pictures-week-of-june-07-from-our-community/'.

    The page is not completely displayed; the first image and caption are not displayed.

     - they seem to appear and are the removed.

    That selection displays completely in MS Edge.

     

    I used the same program 15 days ago. The page was displayed exactly as in Edge.

     

    Has NG changed something that emulation 11001 can't handle?

     

    Regards,

    Liam D.

    Sunday, June 23, 2019 7:39 PM

All replies

  • Hello,

    Web sites such as this one change all the time so it's possible the emulation is right or wrong, hard to say but a suggestion, no matter what emulation is used there are no guarantees the internal web browser control will render properly as it's not been updated to handle all the new features of things like HTML5, newer versions of CSS etc. 

    I looked at network request during the page load and there were 21 warnings and one error, that could also account for issues.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Sunday, June 23, 2019 8:32 PM
    Moderator
  • Hi Karen, Thanks.

    But, I'm confused.

    MS Edge displays the page as expected.

    .net webbrowser using emulation 11001 (Edge) doesn't display like Edge.

    Do you know why?

    Liam D.

    Sunday, June 23, 2019 11:07 PM
  • Hi,

    The Webbrowser control works fine with IE7 emulation.,see the following link:

    https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/general-info/ee330730(v=vs.85)#browser_emulation

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, June 26, 2019 7:49 AM