Hi,
After upgrading from V8.2 to 9.1 we have some problems, hopefully you can help us:
Our Users can save/load their personell DisplayLayout preferences via SaveToXml/LoadFromXml.
With 8.2 everything is fine but 9.1 is not able to read the "8.2" Xml.
This is what we do:
Dim u32 As System.Text.Encoding = System.Text.Encoding.UTF8Dim input As Byte() = u32.GetBytes(dr(0)("XML_File"))Dim ss As Stream = New System.IO.MemoryStream(input)XX_grd.DisplayLayout.LoadFromXml(ss, PropertyCategories.All) <- Error Object not set to an.......
Any Ideas?
Thank you
Matthias
Matthias,
The only issue I got in a quick test was an xml formatting exception when trying to load a layout I had saved to an xml file, but I suspect that this may be due to the fact that I'm saving the file differently than you are. With that being said, I know that there were several serialization-related issues that have been addressed since the release of 9.1, so you should try out the latest service release to see if it addresses your problem. Otherwise, if you still get the problem, if you could post a snippet on how you're saving your layout, or even better a small sample project, I'll be happy to take a look at it.
-Matt
Which service reelease are you referring to? I am using 9.1 with the latest Hot Fix, and still seeing this issue of error loading layout.
I was using the latest internal code build to test this. I see that you've posted this question in response to other threads as well, but unfortunately it's difficult to say why you're getting this exception without being able to reproduce the problem, or at the very least see a stack trace of why the application is failing. Hopefully someone in one of the other threads you've brought this up in have some more insight as to why this might be happening.
If it was still called a Hot Fix when you download it, then it's not the latest. You might want to check again and make sure you have the latest one:
How to get the latest service release - Infragistics Community