Thursday, April 14, 2011

Bing mobile search for Windows Phone 7 and Javascript enable

Javascript is disabled by default in Windows Phone 7 browser. This caused me some problems when I tried to use mobile bing search in my application.

You have to do this to enable the Javascript.

Webbrowser1.IsScriptEnabled = true;

You can access Bing Mobile search by using http://m.bing.com/

For example to search for Alex Rodriguez you would use something like the following:

http://m.bing.com/search/search.aspx?A=imageresults&Q=alex+rodriguez&D=Image&SCO=1

No comments:

Post a Comment