Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
Load from XML are not getting Expanded
posted

 Hi, In my proect I have to save the pivot grid view in an xml file and load it from the xml. I make it  like the following example.

https://es.infragistics.com/samples/silverlight/pivot-grid/#/save-and-load-views

There is only one diffrence that I take the XML information from another page with the URL. And read it  like following lines.


SavedPivotGridView XMLSerializedView = new SavedPivotGridView();

XmlSerializer serializer = new XmlSerializer(typeof(SavedPivotGridView));
StringReader stringReader = new StringReader(QueryResult);
XMLSerializedView = (SavedPivotGridView)serializer.Deserialize(stringReader);

XMLSerializedView.Fill(this.pivotGrid);

The problem is that the levels are not getting expanded when the load method run. I think the problem is about to SavedPivotGridView  class. But I could not find. Any suggestion?