Articles in this section
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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied