We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

HTMLUIControl Refresh/Repaint after change to html text

Does the control support partial rendering or repainting? Here's where I'm going. If I update the html by programatically inserting new html somewhere in the body area of existing html, does it repaint the entire control or just the affected area? I'm trying to avoid flickering during every change. Can DoubleBuffering help with this? Thanks.

- Randolph


1 Reply

VS Vallarasu S Syncfusion Team June 9, 2011 05:50 AM UTC

Hi Randolph,

Thanks for your interest in Syncfusion products.

We have never received any flickering issues with the HTMLUIControl, Painting happens only when the control finishes parsing the html document, hence the possibility of flickering is less.

HTMLUIControl does not supports partial rendering, instead you can listen to HTMLUIControl.LoadFinished event and the call the HTMLUIControl.Document.Draw method in the hosts paint event,
this will provide a better paining than Doublebuffering.

Let me know if you need any further assistance.

Regards
Vallarasu S.


Loader.
Live Chat Icon For mobile
Up arrow icon