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
195
Problem Exporting to Excel
posted

Hi!

I have a problem with the option to export to excel (silverlight).

Randomly, the order of the grid columns is not exported right and columns are displayed in a different position to which they are displayed on the grid.
 
The worst thing is that it seems a random problem. I can not do when I want. Sometimes is exported OK, sometimes it fails.

I do not know if it is a known problem, or need more details. I could show the code, which ends in a simple:

  using (System.IO.Stream exportStream = dialog.OpenFile ())
                 {
                     dataWorkbook.Save (exportStream);
                     exportStream.Close ();
                 }

Thank you very much and best regards

Xabi 

  • 21382
    posted

    Currently the developer controls how the XamGrid exports in Silverlight.  We do not have a control that exports the XamGrid for you.  So you would have to look to the code that is creating the excel file from the grid and figure out what is going on.