I am using the 10.204.0.75 version of SyncFusion.Grid.WPF.dll in Visual Studio 2012 in a .Net 4.0 project on Windows 7 Pro.
This is part of my long saga attempting to reset the grid to it's original state with regards to grouping, column ordering, filtering, and sorting. When the GridDataControl.Loaded event fires, I want these aspects of the grid to return to their original state if the ItemsSource has changed. This doesn't seem like an unreasonable requirement, but I've been unable to do it thus far. I'm at the point where I'm considering creating a new View with a new GridDataControl every time the user loads the View. To my way of thikinking, this is wasteful and should not be necessary. The grid (and parent View) should be re-usable and reset-able.
After running into problems do trying to clear things directly, I've fallen back to the Model.SerializeToStream() option. In doing so, I've run into the following XmlSerializer problem:
{"The type Syncfusion.Windows.Controls.Grid.GridDataPercentEditVisibleColumn was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically."}
I've included a solution that demonstrates the issue; just double-click anywhere on the grid. If XML serialization, which is the preferred way to do a reset, is broken, I'm afraid I'm at a loss for how to proceed.
GridDataControl_SerializationIssue_90108e14.zip