Hi,
I try to migrate our WPF application from 14.1 to 14.2.
We have a custom Theme Manager which load 2 different styles (Black or Blue).
We have defined in our application a new xamMultiColumnComboEditor style (copied in the application from default style) because we wanted to modify the controlTemplate (change the behavior of error validation handling). It worked perfectly but now If I'm doing the same thing I receive this error :
{"'Infragistics.Controls.Editors.Primitives.MultiColumnComboEditorCommandSource' is not a valid value for property 'Command'."}
I'm a bit surprise, this is not a modified part in the template ?
Help please !
Regards
Stéphane
Hello Stephane,
Thank you for your post!
From your description, I am somewhat unsure what you are doing with the XamMultiColumnComboEditor. I have attached a sample project with the 14.2 default style and a XamMultiColumnComboEditor in it, but when I modified it, I was not receiving any errors. I am using specific version 14.2.20142.2081.
Would it be possible for you to modify this project to reproduce the errors you are seeing? Alternatively, could you please provide some more detail on how you are using the ThemeManager in your application, and what you are modifying regarding the error handling in the default style?
Sincerely,AndrewDeveloper Support Engineer IInfragistics Inc.www.infragistics.com/support
Hello Andrew,
Thanks for your repply.
I would like to check your sample in my environment but I do not find your attachment project file ?
My apologies, it appears that the file decided that it didn’t want to attach to my last response.
The sample project should now be attached. Would it be possible for you to modify it to reproduce the errors you are seeing, or to replicate the functionality of how you are implementing the ThemeManager, and the default style?
I am glad that you were able to resolve this issue in 14.1. I find it rather strange that this issue has re-surfaced in 14.2 though, being that it had to do with resource build actions. Do you still require assistance to solving this issue in 14.2? If so, could you please paste the link where you found the person with a similar issue to this one?
Hi Andrew,
I worked on it last week ; that was hard to figure out the issue cause we use MEF technology, in one module we have our custom theme manager and load dynamically separate theme dlls. When I tried to put your style in my solution (in theme dll) it does not work as well.
Finally, after searching on goggle all the week, I found a guy who had a similar issue but on different components ; the answer was to be sure ResourceDictionnary was build in 'Page' not in 'Resource'.
Actually, I always put my ResourceDictionnaries in 'Resource' build action.
That was the reason of my problem ; that was working like this in 14.1 but not anymore in 14.2
Thanks Andew
Just checking in, did you have any other questions or concerns on this matter?