My online profile does list
NetAdvantage for Win Client 2009 Vol. 1 - WPF Source Code (Release Build Version 9.1.1006)
as the latest build.
Yet when I try to run Alex's ColumnChooser, I get the following error:
Error 1 Assembly 'MyUtilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'Infragistics3.Wpf.DataPresenter.v9.1, Version=9.1.20091.2075, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' which has a higher version than referenced assembly 'Infragistics3.Wpf.DataPresenter.v9.1, Version=9.1.20091.1006, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' c:\temp\Infra\ColumnChooser\XamDataGrid_ColumnChooser\MyUtilities.dll XamDataGrid_ColumnChooser
Where can I find this upgrade?
Thanks.
Not sure if I have to open a separate post on this, currently we use SaveCustomizations to persist column info into sql datastore and LoadCustomizations to reload on XamDataGrid.
When saving the customization the serialized string of FieldLayout has xml version/encoding,version of the data presenter and the formatter (like below) and also the data type of each column
<?xml version="1.0" encoding="utf-8"?> <xamDataPresenter version="9.1.20091.2049" formatVersion="1.2">
The question is,
A) What if we are to upgrade to newer major or minor version of infragistics but we need to retain existing users configurations.
B) Other than parsing the serialized xml is it possible to exclude these versions and encoding information when calling SaveCustomizations?
C) What if the datatype of saved column is different when loading, for example column type is changed from string to double? Does it raise an exception or it try to parse?
Thanks for helping out
Please find the attached project.
Hi, Could you please provide the source code for this column chooser window? We are running with older version of 9.1 service release so not able to use the dll by itself. Thanks.
I must apologize.
It seems that I have not provided a clean solution for the library :) . I will create a support case and provide you with a clean project.