Welcome Guest Search | Active Topics | Sign In | Register

Use EO.WebBrowser in Windows Forms User Control Options
G
Posted: Friday, December 12, 2014 2:16:50 PM
Rank: Newbie
Groups: Member

Joined: 12/11/2014
Posts: 7
Hello,

I successfully loaded the EO.WebBrowser control inside my own user control, but when I call the loadUrl function it does not seem to be working. The page is just blank.

Is it possible to get your control to work inside a user control ?

hanks
eo_support
Posted: Friday, December 12, 2014 3:39:45 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

The problem should be somewhere else in your code. EO.WebBrowser doesn't care where you put it. As long as it's being created --- which will happen regardless you put it directly in a Form, a container control or a user control.

If you continue to have problem, you can try to isolate the problem into a test project and we will be happy to take a look. See here for more information on how to submit test project to us:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!
G
Posted: Friday, December 12, 2014 4:02:18 PM
Rank: Newbie
Groups: Member

Joined: 12/11/2014
Posts: 7
Hello the test project has been submitted to support_at_essentialobjects.com . If you could get back to me, that would be great. I am very eager to buy this control today if this is going to work.

Thank you
G
Posted: Friday, December 12, 2014 5:41:56 PM
Rank: Newbie
Groups: Member

Joined: 12/11/2014
Posts: 7
I have run a lot of tests and as you will see I basically have no additional code .. when your control appears to try to load the url, the loading cursor blinks for a sec and then stops .. no page is loaded.
eo_support
Posted: Friday, December 12, 2014 5:56:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

We have looked into the test project, however:

1. TestUserControlApp project is missing. This seems to reference a project in your CefSharp-master which is outside of your test solutions' directory;
2. The only place that calls LoadUrl is inside BrowserPaint function. This function appears to be an event handler but we do not see its being used anywhere;

Please correct those issues and resend your test project. We will check again afterwards.

Thanks!
G
Posted: Friday, December 12, 2014 6:18:29 PM
Rank: Newbie
Groups: Member

Joined: 12/11/2014
Posts: 7
Yes my mistake. Feel free to delete this thread. Thank you
eo_support
Posted: Friday, December 12, 2014 6:48:25 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
No problem. Please feel free to let us know if there is anything else.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.