NotSupportedException ocurred when loading saved layout

6 posts, 0 answers
  1. Irene
    Irene avatar
    4 posts
    Member since:
    Oct 2012

    Posted 15 Sep 2016 Link to this post

    Hi, I'm having problems with Saving/Loading layouts.

    I'm saving automatically the layout of all my tables to XML files, with "SaveLayout" method, I don't do anything additional.

    When the application starts, all that XML files saved, are loaded with "LoadLayout" method. I don't know why, but in some cases, I'm getting this error on LoadLayout:

     

    NotSupportedException ocurred.

    Exception thrown: 'System.NotSupportedException' in System.dll

    Additional information: CultureInfoConverter cannot convert from (null).

     

    I've tried to reduce the structure of the table doing it simpler, (decreasing the number of columns, and removing hierarchy), but I'm getting the same error.

    Thanks in advance.

  2. Hristo
    Admin
    Hristo avatar
    890 posts

    Posted 19 Sep 2016 Link to this post

    Hello Irene,

    Thank you for writing.

    It is hard to investigate the exception without actually examining your XML file. Please follow up in the support ticket you have opened on the same topic with the XML content so that we can further look into the issue.

    Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
  3. sharon
    sharon avatar
    2 posts
    Member since:
    Jan 2011

    Posted 15 Feb in reply to Hristo Link to this post

    Hi!

    I am getting the next error when loading the grid layout:

    "no parameterless constructor defined for this object"

    I am using "R3 2016 SP1".

    Is there a known bug in this area?

     

    Thanks,

    Sharon

     

  4. Hristo
    Admin
    Hristo avatar
    890 posts

    Posted 16 Feb Link to this post

    Hi Sharon,

    Thank you for writing.

    We are not aware of an issue which would result in the reported. In case you have inherited RadGridView and substitute some of the classes which are building it, please make sure that they have parameterless constructors. 

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. sharon
    sharon avatar
    2 posts
    Member since:
    Jan 2011

    Posted 16 Feb in reply to Hristo Link to this post

    Hi!

    I am using the base RadGridView classes.

    What is needed from my side in order to check this problem?

     

    Thanks,

    Sharon

  6. Hristo
    Admin
    Hristo avatar
    890 posts

    Posted 17 Feb Link to this post

    Hi Sharon,

    Thank you for writing back.

    Without actually having your project it is hard to say what is causing the described on your end behavior. Please open up a support ticket and attach your project demonstrating the issue. This way we would be able to examine it thoroughly.

    I hope this helps. Please let me know if you have other questions. 

    Regards,
    Hristo
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top