Completed
Last Updated: 07 Jun 2021 16:24 by ADMIN
Release R2 2021 SP1
Corey
Created on: 11 Mar 2021 11:53
Category: VirtualGrid
Type: Bug Report
0
RadVirtualGrid: Error occurs when loading layout from MemoryStream
I'm trying to save the layout of a VirtualGrid to retain the user's settings and I started setting up the custom serialization rules and was continually getting errors.
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 11 Mar 2021 12:07

Hello, Corey,

The possible workaround that I can suggest is to save the layout in an XML file on the file system:

private void radButton1_Click(object sender, EventArgs e)
{
    this.radVirtualGrid1.SaveLayout(@"..\..\grid.xml");
}
private void radButton2_Click(object sender, EventArgs e)
{
    this.radVirtualGrid1.LoadLayout(@"..\..\grid.xml");
}


Regards,
Nadya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.