Locked WP7 WebbrowserTask showing a weird Behavior

  • martes, 02 de noviembre de 2010 14:10
     
     

    Hi All,

    I am facing a weird problem with WP7 WebBrowserTask.

    This simple piece of code opens up webbrowser tab in every invoke.

    Web_Browser.URL =

     

    "www.rediff.com";

    Web_Browser.Show();

    But untill unless I am not selecting the tab it does not shows the URL.

    Thanks

    Sam

Todas las respuestas

  • martes, 09 de noviembre de 2010 22:00
     
      Tiene código
    I am experiencing the same problem.  Using the below code snippet, the browser launches with a blank window and the words "enter web address" in the address bar.  If I then click the Tabs icon in the application bar, I see the new tab available there, still blank.  When I select the new tab, it loads as its supposed to.

    WebBrowserTask
     webBrowserTask = new
     WebBrowserTask
    ();
    webBrowserTask.URL = "http://www.microsoft.com" ;
    webBrowserTask.Show();
    I experienced this problem in the emulator as well as on an actual WP7 device.  For the record, it worked correctly once in 20+ test attempts.


  • miércoles, 24 de noviembre de 2010 16:56
     
     
    Same here problem here.. Only on the device, not in the emulator.
  • lunes, 13 de diciembre de 2010 18:00
     
     

    I'm having the same issue in the emulator and when deploying to a device.

    When you do a WebBrowserTask a second time (during reactivation in my case), it loads a blank page with the text "enter web address".  When going to the browser's open tabs, selecting the blank tab, it loads the proper page.  I've tried several things including adding a random string to a query parameter (thinking it may only do that if it's the same url), loading a random url (thinking it only does this with the same url).  I've tried urls that redirect, ones that don't.  Nothing works.

    Can someone from Microsoft please respond?  

    I have source available if needed.

    Thanks,
    Nathan

  • viernes, 04 de febrero de 2011 21:03
     
     

    Sorry to push this, but I'm experiencing the same problem.
    Does anybody have a solution? It occurs on the emulator AND my device...

    Thanks for a response,
    relexx

  • viernes, 18 de febrero de 2011 23:22
     
     
    Same here. Does anyone know what the problem is here or how to fix it. This is a show stopping issue for my app.
  • domingo, 27 de febrero de 2011 3:32
     
     

    I was also hitting the same issue, but I guess I have found what the problem is.

    If the phone is connected to the PC with the USB cable, then this issue repros. Else it works as expected. Hence, just disconnect the phone and try again (of course you can't debug anymore).

     

    This is just another quirky thing I noticed (just like the CameraCaptureTask cannot be launched when Phone connected to the PC)

     

    (Speculation) Looks like the Zune client on the Phone is interfering in some ways with some of the launchers/choosers.

  • miércoles, 09 de marzo de 2011 7:55
     
     

    Why would you post this question under "Windows CardSpace"?? There are "Windows Phone 7" forums -- use them:

    http://social.msdn.microsoft.com/Forums/en-CA/windowsphone7series/thread/d00bb0cc-bf8c-4a9e-9823-b55f589a3106

  • viernes, 23 de septiembre de 2011 14:58
     
     

    Why would you post this question under "Windows CardSpace"?? There are "Windows Phone 7" forums -- use them:

    http://social.msdn.microsoft.com/Forums/en-CA/windowsphone7series/thread/d00bb0cc-bf8c-4a9e-9823-b55f589a3106

    GOt the same issue as well. Will look over there to follow up.
    White Carpet Kitchen Carpet