Rank: Newbie Groups: Member
Joined: 4/23/2015 Posts: 5
|
I have an application that uses an Infragistics UltraTab control. At run time, I create a new tab dynamically followed by a new instance of the EO.Browser control. The control is added to the new tab's Controls collection and I dynamically attach 3 event handlers to the new WebView.
The next thing I do is LoadHTML() using a valid string of HTML content. After calling this function, the WebView instance is EMPTY. When I debug the code and test for a value using GetHtml() and GetText(), both functions return an empty string. I don't get it!!!!!!!!!! Now here's where it gets really weird....
The above fails only on the first attempt!
When I close the first UltraTab, the WebView is presumably destroyed along with it. It isn't until I create a NEW tab (the 2nd tab or more) that the LoadHTML() actually gets the data to stick!
I have never seen anything like this. I've been troubleshooting this problem for a couple of weeks now.
I took an earlier look at the EO.Browser control's multi-tabbed option but for some reason I chose not too use it. Probably because it was inflexible for my needs.
Can someone tell me why the WebView LoadHTML() fails on the first attempt but works any other time after that?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
|