Hi!
I develop a Windows forms main program which added plug-ins with their own user interface at run-time. This main program loads the application style which automatically affects to the GUIs of the plug-ins. So far so good. Everything is working fine.
However, when the main program uses a new Infragistics-Version (with the same Appstyle) the Appstyle is not affected to the plugins that use still the old Infragistics-Version. Is that basically possible? Do you support backward compatibility?
Thx
Sven
foxray said:yes, that's exactly what I thought. Each version runs in it's own scope, correct?
Correct.
Perhaps you could expose a method on your plugin so that the main application could call into the method and pass in the isl file so the plug-in loads the correct isl.
Hi Mike,
yes, that's exactly what I thought. Each version runs in it's own scope, correct? The problem is, when we decide to use a new version of Infragistics (eg.2012-1) but our partners use an old version (e.g. 2010-3), the style is no longer transmitted. We can't constrain our partners to implement the new version. However, we want allways to use the latest version. Thanks for your reply.
BR
Hi Sven,
I'm a little confused.
The Infragistics components are all backward compatible (within reason). There is always the possibility that a newer isl file might contain some new role(s) or features that an older version of the controls doesn't support, but the controls will still apply whatever role information they can and this does not change from one version to another.
When you call StyleManager.Load, you are calling that method using a particular version of the assemblies, though. And only that version of the assemblies will be affected. So if you want an isl to affect multiple versions of the assemblies, then you will need to load that isl into each vrsion by calling StyleManager.Load from each version.
The best thing to do would be to use the same version of the assemblies for everything.