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

InsertXHTML Error

Here is the error:

at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToSingle(String value)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.TableBorders.Parse(String paramName, String paramValue)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.ParseTableStyle(XmlAttribute attr, TableBorders brdrs)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.ParseTableAttrs(XmlNode node, TableBorders brdrs)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.ParseTable(XmlNode node)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.ParseTags(XmlNode node)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.TraverseChildNodes(XmlNodeList nodes)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.WriteParagraph(XmlNode node)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.ParseTags(XmlNode node)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.TraverseChildNodes(XmlNodeList nodes)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.WriteParagraph(XmlNode node)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.ParseTags(XmlNode node)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.TraverseChildNodes(XmlNodeList nodes)
at Syncfusion.DocIO.DLS.HTMLConverterImpl.AppendToTextBody(ITextBody textBody, String html, Int32 paragraphIndex, Int32 paragraphItemIndex)
at Syncfusion.DocIO.DLS.WTextBody.InsertXHTML(String html, Int32 paragraphIndex, Int32 paragraphItemIndex)
at Syncfusion.DocIO.DLS.WTextBody.InsertXHTML(String html, Int32 paragraphIndex)
at Syncfusion.DocIO.DLS.WTextBody.InsertXHTML(String html)


Here is the html:

Budget Name:JJA JD 29 Budget













CategoryBudgetVarianceExpenseOther IncomeNet Total
Test$8,000.00$130.00$0.00$0.00
$8,130.00
JJA 29$5,000.00$160.00($633.04)$10,000.01
$14,526.97
JJA 31$7,000.00$140.00($11,006.92)$0.00
($3,866.92)
JJA 30$6,000.00$150.00($875.02)$0.00
$5,274.98






















Total Other Income +10,000.01
Total Expenses -12,514.98
Net Total -2,514.97






I have set DocumentMain.XHTMLValidateOption = XHTMLValidationType.None;

Thanks,
Cody

2 Replies

CI Cody Inman August 28, 2009 01:51 PM UTC

Here is the error message:

Input string was not in a correct format.


VS Vijayakumar S Syncfusion Team August 31, 2009 12:26 PM UTC

Hi Cody,

Thank you for using Syncfusion products.

We were able to see the mentioned issue. We were already aware of this issue. Our developers are currently working in this issue. The fix for this issue will be included in our next-forth coming development build which will be released on 7th September 2009 in the below link.

Development build link:
http://www.syncfusion.com/downloads/development-builds

Please let us know if you have any questions.

Regards,
Vijay

Loader.
Live Chat Icon For mobile
Up arrow icon