Can I use the persistence framework on a standard datagrid?My test with a XamGrid works great, but doesn't work quite right when I try it with a standard datagrid.
With the DataGrid the original 2nd column always becomes 1st column regardless of the order of columns that was set when the grid was saved with the PersistenceManager.
Is there something special I have to add to the DataGrid? I'm pretty much following Sung Kim's video example. Although I've moved the persistence and isolated storage into a separate class.
Thanks,Chris
Hello Chris,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and the sample code you have provided and I can say that the PersistenceManager does not save AttachedProperties, DataTemplates, Paths, ControlTemplates, Styles, and ItemPanelTemplates, but you can still save them use Identifier attached property off the PersistenceManager. Here it is explained in details:
http://help.infragistics.com/NetAdvantage/Silverlight/2011.2/CLR4.0/?page=Persistence_About_Infragistics_Control_Persistence_Framework.html
Feel free to write me if you have further questions.