Hi,
I try to get the string after the sign # in my url of my WebBrowser with:
MessageBox.Show(UI_WebBrowser.Source.Fragment);
But it return me a null string! I also tried to navigate to a string like "http://www.google.com/#123" and nothing...
Need help please! :)
PS: my code:
private void checkIfUpdate()
{
UI_WebBrowser.Navigated += new System.Windows.Navigation.NavigatedEventHandler(UI_WebBrowser_Navigated);
UI_WebBrowser.Navigate("http://www.google.com/#123");
}
void UI_WebBrowser_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e)
{
MessageBox.Show(UI_WebBrowser.Source.Fragment);
}