cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.89k stars 2.92k forks source link

unable to render the browser #1787

Closed kagami3287 closed 8 years ago

kagami3287 commented 8 years ago

private void chrome_initialized(object sender, RoutedEventArgs e) { CefSettings settings = new CefSettings(); if (Cef.Initialize(settings)) { URL.Text = "https://google.com"; chrome = new ChromiumWebBrowser(); chrome.Address = "https://google.com"; this.browser.Children.Add(chrome);
} }

But the page data is not getting loaded. Being a newbie I don't even have any experience with cefsharp either. I think it must be a very small issue. please help me out.

the browser object in the "this.browser.children.add(chrome)" is a dockpanel object. problem

amaitland commented 8 years ago

So you have a question to ask, where can you look for answers?

Please take the time to read the issue template, if you have a question, ask it on Gitter first. https://github.com/cefsharp/CefSharp/blob/master/ISSUE_TEMPLATE.md

amaitland commented 8 years ago

See https://github.com/cefsharp/CefSharp.MinimalExample for a working example.

kagami3287 commented 8 years ago

Thanks for the Help!!! I some have managed to finish what i wanted to do. But now the problem is with the browser itself. The view looks very bad, as in it keeps displaying black screen very frequently. I am thinking it has something to do with loading the data on the page. any help is appreciated.

amaitland commented 8 years ago

The view looks very bad, as in it keeps displaying black screen very frequently. I am thinking it has something to do with loading the data on the page. any help is appreciated.

See the release notes. Further questions ask on Gitter as per above.