HTMLUI Wont Load HTML URL From URI (See Simple Code Attached)

Hi,

I have a simple form with an HTMLUIcontrol in it.
The Form code is like this:

Public Class Form1
    Public MyUri As Uri = New Uri("https://www.google.com/")
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        HtmluiControl1.LoadHTML(MyUri)
    End Sub
End Class

But the Form does not load at all.

The Sample code from the help system writes this line -> Public MyUri As Uri = New Uri("https://www.google.com/")
AS -> Private MyUri As Uri = New Uri("https://www.google.com/")

But VS 2019, Vb.NET does not permit a Private declaration like that in the form ??

Something is out of place here.
The HTMLUI wont load.

Please Help

Thanks

Regards
Ashutosh


2 Replies 1 reply marked as answer

PS Prabakaran Sangameswaran Syncfusion Team April 3, 2021 05:04 PM UTC

Hi Ashutosh, 
 
Thanks for contacting Syncfusion support.  
 
Currently, we are validating the reported query “HTMLUI Wont Load HTML URL From URI”at our end. So, we will update the further details on or before 7th Apr 2021.  
  
Until then, we appreciate your patience.  
 
Regards, 
Prabakaran S 



SG Sangeetha Ganesan Syncfusion Team April 7, 2021 01:05 PM UTC

Hi Ashutosh 
 
Thanks for contacting Syncfusion support.  
 
We have checked your query and HTML UI is a classic control in which the basic html or htm pages can be loaded. This control cannot load images and complex objects in the web pages unlike web browsers. So, the html or htm files with complex objects will not be loaded in HTMLUI control. Please let us know if you need any further assistance on this. We will be glad to assist you. 
 
Regards, 
 
Sangeetha G 


Marked as answer
Loader.
Up arrow icon