Globalize.AddCulture Error

Posted by: roger.porter on 24 December 2019, 12:27 am EST

    • Post Options:
    • Link

    Posted 24 December 2019, 12:27 am EST

    Hi,

    All of a sudden my ASPX project in VS 2015 is showing an error:-

    0x800a138f - JavaScript runtime error: Unable to get property ‘addCultureInfo’ of undefined or null reference

    This error appears when it tries to load a a webform with a component one grid. The strangest thing is I have another web project and that works fine in the same environment.

    The current version of the Component One controls is 4.0.20172.264.

    I would appreciate any help,

    Thanks,

    Roger Porter

  • Posted 25 December 2019, 10:36 pm EST

    Hello Roger,

    It seems the project is not working has the following configuration in the web.config file.

     <appSettings>
        <add key="WijmoUseCDN" value="True" />
      </appSettings>
    

    Please verify with your project. If yes, please set this property to false since we are facing some technical issues with the CDN links which have been reported to the concerned team for investigation.

    Hope it helps!

    Regards,

    Manish Gupta

  • Posted 1 January 2020, 8:19 pm EST

    That has worked, thank you very much. Can you let me know when the CDN links are sorted.

  • Posted 2 January 2020, 6:16 pm EST

    Hi Roger,

    As you know, we have some issues with the CDN links which have been started working again temporarily. Although we are trying to keep them alive. If there is any change, we will inform you.

    Hence, we recommend continuing with the WijmoUseCDN to false.

    Hope it clears!

    Regards,

    Manish Gupta

  • Posted 5 January 2020, 9:06 pm EST - Updated 3 October 2022, 10:57 pm EST

    Hi Manish,

    I have recently found that changing the setting I now get an error when I declare a table and create the grid in Javascript. The error is attached.

    Regards,

  • Posted 7 January 2020, 5:38 pm EST

    Hi Rogger,

    It seems you are using the Wijmo3 widget in the ASP.Net WebForm project and the reference is not included for the targetted file.

    Are you trying to create the wijgrid using the JS code or you are trying to get the GridView instance in JS code?

    If you are trying to get the GridView instance in the JS code, you should use the c1gridview same as follows code snippet:

    $(".selector").c1gridview("option");
    

    In case the issue persists, providing the demo sample depicting your issue would be great to investigate and help in finding the issue cause.

    Also, we have good news too, the CDN has been started working again.

    Regards,

    Manish Gupt

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels