Category / Section
How can I activate I JavaScript code while converting Html/Web pages?
1 min read
We can activate the JavaScript code by setting the property EnableJavaScript of the HtmlConverter class.
C#
HtmlConverter html = new HtmlConverter();
//Activate the JavaScript
html.EnableJavaScript = true;
VB
Dim html As HtmlConverter = New HtmlConverter()
'Activate the JavaScript
html.EnableJavaScript = True
Please do find the sample from the below specified location which demontrates the above specified feature,
http://www.syncfusion.com/support/user/uploads/JavaScript_f7b34583.zip