RadGridView SaveLayout or LoadLayout Customization

2 posts, 0 answers
  1. Jesse
    Jesse avatar
    10 posts
    Member since:
    Aug 2018

    Posted 01 Oct 2019 Link to this post

    Are there any plans now or for the future to allow any type of control over what these features save/load? I am leveraging these methods so I do not have to write custom logic in each tool to retain the layout a user configures, but having control over whether these methods load or save things like the conditional formatting or column filtering would be highly useful. There are cases where I may not want these things to load up for the user after relaunching the app, but as of right now I need to handle this post load manually.
  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4129 posts

    Posted 02 Oct 2019 Link to this post

    Hello, Jesse,    

    RadGridView serialization API provides a wide range of options that enable the programmer to customize the serialized content in a flexible manner. Based on the principles of the standard Microsoft .NET XML serialization approach, the API can be easily used for implementing different serialization scenarios.

    In the grid's XmlSerializationInfo.SerializationMetadata you can specify what information exactly to be stored in the XML. Please refer to the following help article demonstrating how to customize the serialized data: https://docs.telerik.com/devtools/winforms/controls/gridview/save-and-load-layout/advanced

    I hope this information helps. If you need any further assistance please don't hesitate to contact me.

    Dess | Tech Support Engineer, Sr.
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top