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
245
XamTileManager Persistance
posted

Hi,

We are using the PersistanceManager to save the layout of our instances of the XamTileManager. This creates xml that we can use to open our application when it re-opens. It saves values like this in the xml:

 <TypeName>Infragistics.Controls.Layouts.Primitives.TileItemPersistenceInfo, InfragisticsWPF4.Controls.Layouts.XamTileManager.v12.1, Version=12.1.20121.2107, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</TypeName>

I've highlighted the piece in bold which is causing us problems. We are now using a different version of the XamTileManager in response to a separate bug that we found. Infragistics have fixed the bug and provided us with new versions of the DLLs to try which are obviously not 12.1.20121.2107 (we currently have version 2152)  This means that when we try and load in the xml previously saved in version 2107 (by using PersistenceManager.Load(myXamTileManager, memoryStreamFromSavedXml); ), the PersistanceManager throws an exception because it cannot find the 2107 assembly - of course, it won't because we have replaced the version for 2152.

Can someone please advise how we can get round this problem?

Thanks,

SM