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?

Parents
  • 995
    posted

    Hi tbabur!

    We are currently preparing a new sample where an improved approach is used in saving/loading pivot grid views. It will be published with the next service release, which is planned to ship in about two weeks. I will write to you here as soon the sample is published.

    If it is not acceptable for you to wait until then, could you provide some more details on the issue you are experiencing (e.g. what datasource you are using etc.) or maybe attach a sample where it could be reproduced?

    Regards,

    Philip

Reply Children