|
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
|
|
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!
|
|
Rank: Newbie Groups: Member
Joined: 1/3/2014 Posts: 5
|
Great, thanks for the very quick response.
|
|
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.aspxThanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/3/2014 Posts: 5
|
Nice, thanks for the quick turnaround.
|
|
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
|
|
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!
|
|
Rank: Newbie Groups: Member
Joined: 1/3/2014 Posts: 5
|
Yep, that test is working now.
Thanks, Joe
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Great. Thanks for confirming the fix!
|
|