We are using RadGridview to control the presentation of data of social indicators.
The information shown is related to the time (years) and data in relation to grow over time.
The idea is to have a control that is dynamically complete without a fixed pattern, since each indicator has variables per year. Having a fixed model would represent having to change code every time there's a new year.
One solution is implemented to generate an XML file at runtime using isolated storage IsolatedStorageFile and XmlWriterSettings to write to this file.
Once you create the XML file we use StreamReader to read the file and XDocument to bring the file to the application.
To assign the XML file to control RadGridView do as follows:
RadGridView. ItemsSource = xDoc.Descendants ("Tag name of XML file"). ToList ();
Which is of type XDocument xdoc.
Thus we present the XML content in the control RadGridView.
But this has meant that when exporting data RadGridview information exported by like as the XML file source, I mean that in each cell of the exported table contains the structure of the source XML file. And also disables control the choice of filters is RadGridView default.
How we can solve these problems export result and control of filters?
