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

Problem of HtmlConverter

I use HtmlConverter class to convert the below web page

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Slider/Slider.aspx

to an image by the following C# code:

HtmlConverter convert = new HtmlConverter();
Image img = convert.ConvertToImage("http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Slider/Slider.aspx", ImageType.Metafile);
img.Save(@"C:\Test.jpg");

I found the result image is not correct. The sliders will display as text boxes. Are there any way to convert this web page correctly? Thanks ever so much for your help, I really appreciate it.


1 Reply

GM Geetha M Syncfusion Team January 23, 2009 08:51 AM UTC

Hi,

Thank you for your interest in Syncfusion products.

I am able to see the problem. Currently we don't have support to convert Slider controls. We support a few basic html controls like TextBox. However I have forwarded this to our development team for more analysis and will update you in two days.

Regards,
Geetha


Loader.
Live Chat Icon For mobile
Up arrow icon