We are using Infragistic ultrawebgrid component to add and edit multiple values in grid cell.
On chrome we are getting error as
[FormatException: Input string was not in a correct format.] System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +10896279 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +145 System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo) +50 System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +328
[Exception: 18.181817787737895 is not a valid value for Int32.] System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) +457 System.ComponentModel.TypeConverter.ConvertFromInvariantString(String text) +43 Infragistics.WebUI.Util.Serialization.Serializer.ProcessXmlData(WebControl control, XmlNode node, Object currentObj, Boolean ignoreCase, Boolean reset, XmlNode filterNode) +4900 Infragistics.WebUI.Util.Serialization.Serializer.ProcessXmlData(WebControl control, XmlNode node, Object currentObj, Boolean ignoreCase, Boolean reset, XmlNode filterNode) +6776 Infragistics.WebUI.Util.Serialization.Serializer.ReadLayoutFromXml(XmlTextReader xmlReader, Boolean reset, XmlDocument filterDoc) +721 Infragistics.WebUI.Util.Serialization.Serializer.LoadFromXml(Object target, String XmlFragment, Boolean reset) +180 Infragistics.WebUI.UltraWebGrid.UltraWebGrid.LoadPostData(String postDataKey, NameValueCollection values) +5212 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +303 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1960
We are even unable to debug the error and fix it.
Can someone guide us how to fix the error.
Thank you for posting in our community!
I would like to inform you that the support for 6.3 is dropped nearly 7 years ago. According to our policy, the last version we have supported is 14.1 . The information is available here: Product Lifecycle .
Our colleague wrote a blog why you need to migrate From ASP.NET WebForms to modern web technologies.
Hope it will intrigue you and you will find a solution for your issue in it.
We have Asp.net 4.0 application, using following control Infragistics libraryInfragistics NetAdvantage For Asp.Net 2006 Vol 3 CLR 2.0.
We have used following controls in the application in various modules.
Is there an easy way to upgrade the controls/library to a new latest version?. If not, what would be the recommended way to get rid of the old controls above? Any help or suggestion is appreciated.
As we are facing various issues specially related to UltraWebGrid control and browser compatibility.
Please suggest steps and how we can do the upgrade without or less problems.
The control toolkit is changed is another completely and the controls should be updated manually.
The following topics will be of help:
Let me know if I may be of further assistance.
Thanks for you feedback
As discussed earlier, We have been using Infragistics NetAdvantage For Asp.Net 2006 Vol 3 CLR 2.0 library.
Also we have some queries
Do we need to install any new setup or just copying new latest infragistics DLL would be sufficient for trial?
Can we have both versions co-exist i.e. latest Infragistics and current existing control ?
What are other impacts or known issue in migration process might arise?
We are planning to check and do manual upgrade process for one of the module that is using Infragistics.WebUI.UltraWebGrid v6.3 causing lot of issues with latest browser i.e chrome,IE and FF
We are unable to edit the cell in WebUI.UltraWebGrid v6.3 in IE and FF
We are able to edit cell in chrome but sometimes gets input string is not in correct format error as posted above.
Please guide and provide us feedback
1. Yes you can copy the latest version of infragstics dll's only but you should rewrite your source code.
2. You can have both versions, please see the topic: http://help.infragistics.com/Help/Doc/ASPNET/2016.1/CLR4.0/html/ASPNET_Versionless_Assemblies.html.
3. With the new controls you have better performance, support, easy usage, ..etc.
It is normal to have a lot of issues when you want to migrate to the newest versions, they can not be avoid. You may need delete or add some code depends on the new features that exists or the features that were be removed. Also it is normal to have issues with the interaction between the newest and the older version of the browsers because, the older controls are made to work for the specific versions than, now they are modified to work correctly with the latest version of the browsers.
If you need further assistance, please feel free to contact us.