Hi Telerik Team,
I'm trying to use the Wpf HtmlFormatProvider (Version 3/12) in a console application.
When the input html is malformed the FormatProvider throws an exception on a different thread
which is crashing the application.
Is there any workaround for this?
I'm trying to use the Wpf HtmlFormatProvider (Version 3/12) in a console application.
[STAThread]
static
void
Main(
string
[] args)
{
HtmlFormatProvider htmlProvider =
new
HtmlFormatProvider();
try
{
RadDocument doc = htmlProvider.Import(htmlString);
}
catch
(Exception ex)
{
}
}
When the input html is malformed the FormatProvider throws an exception on a different thread
which is crashing the application.
Is there any workaround for this?