Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more: , +
Excuse me, everyone!
I am confused now.So please forgive me if i would do anything wrong.
Actually, I am doing my project with Google map on Window phone 7.
When i test my project, i have a error.
That's my context menu. It didn't show up in webbrowser for window phone 7.
I really don't know why???
So i don't know how to solve it.
Please someone help me.
my HTML for loading in browser for window phone 7:

http://www.mediafire.com/?gyvahdkk6j6jtoj[^]
and my code :
C#
private void Browser_Loaded(object sender, RoutedEventArgs e)
      {

        // Load HTML document as a string
       Browser.IsScriptEnabled = true;
       Uri uri = new Uri("Context.html", UriKind.Relative);
       Stream stream = Application.GetResourceStream(uri).Stream;
       using (StreamReader reader = new StreamReader(stream))
       {
           // Navigate to HTML document string
           Browser.NavigateToString(reader.ReadToEnd());
       }
      }

Please help me.
Thank alot.
Posted
Comments
Ed Nutting 20-Feb-12 12:59pm    
What error message did you get or is it that your code just doesn't produce the expected results? Without more detail few people will be able to answer this.
Dean Oliver 20-Feb-12 13:12pm    
Please provide more information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900