Welcome Guest Search | Active Topics | Sign In | Register

Does EO.WebBrowser.WinForm.WebControl support loading html form a string? Options
joeluebker
Posted: Friday, January 3, 2014 2:28:38 PM
Rank: Newbie
Groups: Member

Joined: 1/3/2014
Posts: 5
Hi EO support,

I am in the process of evaluating replacement options for the .NET WinForms WebBrowser control. Does your WebBrowser WinForms control support any way to load an HTML string to be displayed in the WebView?

I was able to easily set the URL of the WebView and verified that worked as expected but I am really need a way to input an HTML string and have it displayed.

Thanks,
Joe Luebker
eo_support
Posted: Friday, January 3, 2014 3:01:46 PM
Rank: Administration
Groups: Administration

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

That's a very good question. I don't think we have that. We will look into this and get back to you as soon as possible.

Thanks!
joeluebker
Posted: Friday, January 3, 2014 3:49:05 PM
Rank: Newbie
Groups: Member

Joined: 1/3/2014
Posts: 5
Great, thanks for the very quick response.
eo_support
Posted: Tuesday, January 7, 2014 9:40:26 AM
Rank: Administration
Groups: Administration

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

We have posted a new build that added this feature. You can download the new build from our download page:

http://www.essentialobjects.com/doc/6/eo.webbrowser.webview.loadhtml.aspx

Thanks!
joeluebker
Posted: Tuesday, January 7, 2014 3:05:54 PM
Rank: Newbie
Groups: Member

Joined: 1/3/2014
Posts: 5
Nice, thanks for the quick turnaround.
joeluebker
Posted: Wednesday, January 8, 2014 11:18:12 AM
Rank: Newbie
Groups: Member

Joined: 1/3/2014
Posts: 5
I got a chance to download the try out the new LoadHtml API this morning. I created a bare WinForms apps, dropped a EO.WebBrowser.WinForm WebControl control on the form, set docking of the control to Fill, and added a form load event in which I have just one line of code:

webControl1.WebView.LoadHtml(@"<html><b>test</b></html>");

When I run this I don't see anything displayed in the WebControl. I did notice a seemingly invisible "License Alert" dialog. Is it possible that whatever trial license is used when I installed your controls has expired which is why I don't see anything displayed in the control?

Thanks in advance.

Joe
eo_support
Posted: Wednesday, January 8, 2014 11:27:43 PM
Rank: Administration
Groups: Administration

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

Please download the new build from our download page again. There is a problem in the previous implementation is that, if there was no page loaded in the WebView, LoadHtml would not work. That issue has been fixed in the new build.

Thanks!
joeluebker
Posted: Thursday, January 9, 2014 9:00:54 AM
Rank: Newbie
Groups: Member

Joined: 1/3/2014
Posts: 5
Yep, that test is working now.

Thanks,
Joe
eo_support
Posted: Thursday, January 9, 2014 12:36:06 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Great. Thanks for confirming the fix!


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.