0

I want to navigate new link like VS in webbrowser control but i can't this with wpf.

This for ie;

WebBrowser.Navigate("http://www.bing.com");

How is it done with CefSharp in WPF?

1 Answer 1

4

In cefsharp, you can do it like

string navigateUrl = "http://www.bing.com";
ChromiumBrowser.Address = navigateUrl;   //navigates to the URL

//or use Reload method if you want to reload it 
ChromiumBrowser.Reload(true);
Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, Load(); What's the difference?
There are different overloaded methods i think for loading the urls or static html to chromium browser. In my scenario, I needed to reload the browser on some button events after the page had been loaded. Setting Address onload should do it for you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.