Infragistics35.WebUI.UltraWebGrid.v11.1 data parse error
New DiscussionHi,
We use this control: Infragistics35.WebUI.UltraWebGrid.v11.1, Version=11.1.20111.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
Sometimes, there is a bug when saving:
System.Exception: 169.60000610351562 is not a valid value for Int32. —> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo)
at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
— End of inner exception stack trace —
at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text)
at Infragistics.WebUI.Util.Serialization.Serializer.ProcessXmlData(WebControl control, XmlNode node, Object currentObj, Boolean ignoreCase, Boolean reset, XmlNode filterNode)
at Infragistics.WebUI.Util.Serialization.Serializer.ProcessXmlData(WebControl control, XmlNode node, Object currentObj, Boolean ignoreCase, Boolean reset, XmlNode filterNode)
at Infragistics.WebUI.Util.Serialization.Serializer.ReadLayoutFromXml(XmlTextReader xmlReader, Boolean reset, XmlDocument filterDoc)
at Infragistics.WebUI.Util.Serialization.Serializer.LoadFromXml(Object target, String XmlFragment, Boolean reset)
at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.LoadPostData(String postDataKey, NameValueCollection values)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I have no idea to fix it.
Please give a help.
Thanks.