MSIE 6.0 browser doesn't read html links on Windows Mobile 6.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kristin09
    New Member
    • Jul 2009
    • 2

    MSIE 6.0 browser doesn't read html links on Windows Mobile 6.5

    Hi guys,
    I have a windows mobile application that has html pages generated on the fly (some pages have links in them). With the new browser MSIE 6.0 the links on the pages are not read as links. Basically nothing happens when you click on them...it just creates a dotted border around the links. Has anybody experienced the same issue? My target platform is Windows Mobile 6.5, my target browser is MSIE 6.0. The links work in previous platforms (Windows Mobile 5.0/6.0).

    This is my code for displaying data in a web browser:
    *************** *************** *************** *****
    String sData = "<HTML><HEAD><T ITLE>My Test Page</TITLE></HEAD><BODY>My Test Page<br/><br/>My test link: <a href=\"http://www.google.com\ ">www.google.co m</a></BODY></HTML>";

    webBrowser.Docu mentText = sData;
    *************** *************** *************** *****

    Thank you.
  • kudos
    Recognized Expert New Member
    • Jul 2006
    • 127

    #2
    Originally posted by kristin09
    Hi guys,
    I have a windows mobile application that has html pages generated on the fly (some pages have links in them). With the new browser MSIE 6.0 the links on the pages are not read as links. Basically nothing happens when you click on them...it just creates a dotted border around the links. Has anybody experienced the same issue? My target platform is Windows Mobile 6.5, my target browser is MSIE 6.0. The links work in previous platforms (Windows Mobile 5.0/6.0).

    This is my code for displaying data in a web browser:
    *************** *************** *************** *****
    String sData = "<HTML><HEAD><T ITLE>My Test Page</TITLE></HEAD><BODY>My Test Page<br/><br/>My test link: <a href=\"http://www.google.com\ ">www.google.co m</a></BODY></HTML>";

    webBrowser.Docu mentText = sData;
    *************** *************** *************** *****

    Thank you.
    I guess it is the same time that happens on old browsers on desktop computers as well, you have a local webpage, and it won't link to external webpages.

    What you would need to do is the following:
    1. ftp the webpage from your phone to a webserver (I don't think these things are supported in the ordinary cf classes) so you can either write it yourself or use something called OpenNETCF or you can write some sort of a bit more advanced webservice that creates a webpage on fly.

    -kudos

    Comment

    • kristin09
      New Member
      • Jul 2009
      • 2

      #3
      Thanks for your suggestion, Kudos. I'll try it and see if it works this way.
      In the meantime I found a work-around - I saved the html data to a temporary file and then used Navigate() method to point to the file. This way the links work when I click on them.

      Comment

      Working...