|
Rank: Advanced Member Groups: Member
Joined: 2/15/2014 Posts: 52
|
Hi eo,
i am currently exploring if i can update a DOM element in an html document. So far, i managed to come up with this code Window win = m_WebView.GetDOMWindow(); Document document = win.document;
if (document != null) { Element element = document.getElementById("sampleElement"); if (element != null) element.innerHTML = "Updated"; }
When i debug, it seems to have hit a deadlock when updating the innerHTML property.
Any idea how to update a DOM element?
Regards Philip
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Please go to Visual Studio's Tools -> Options -> Debugging -> General page, then uncheck "Enable property evaluation and other implicit function calls" and see if it resolves the issue for you.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/15/2014 Posts: 52
|
It doesn't help. Whether i run the test windows app in debug mode or not, the application hangs.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We have confirmed that this is a bug and posted a new build that should fix the problem. Please see your private message for the download location.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 2/15/2014 Posts: 52
|
Hi eo
Tested the new build, works perfectly and no side-effects (so far :D ).
Thanks for the quick response.
Regards Philip
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Great! Thank you very much for confirming the fix. Please feel free to let us know if there is anything else.
|
|