Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WebBrowser control in WPF

$
0
0

Hi Guys,

I have simple WPF app which contains the WebBrowser control. In the WebBrowser control I am displaying a hyperlink using  the code 

wb.NavigateToString("<html><head></head><body><a href='http://intranetpage/test.aspx'>Click here </a></body></html>");

The problem:

When my string contains internal url (intranet website), when i click on the hyperlink nothing

happens. But, I put external URL i.e.

wb.NavigateToString("<html><head></head><body><a href='http://www.google.com'>Click here </a></body></html>");

it works. I am puzzled. Any help would be appreciated.


Viewing all articles
Browse latest Browse all 18858

Trending Articles