tags:

views:

56

answers:

1

Hi all, I am new to Dev Express, Infragistics and some other control stuff. I Just want know what are the possible problems I might encounter when I use both of them in my application.

Thanks

A: 

It depends on your application, but one of the biggest risks you run in using controls from a variety of vendors in a non-web client comes from an unexpected direction - you may conflict with other things in your appdomain. Let's say that you either want to develop a plugin that exposes your application to another application or vice versa. If you have used controls from several vendors, the likelihood of a namespace collision is much higher.

This is important because, for example, DevExpress have changed the organization of their namespaces in important ways over time, and you could easily encounter a situation where your plugin refuses to load because it requires loading a conflicting version of a controls framework. Your only option at that point is to use a separate appdomain to hold your plugin. This is fine for some tasks, but I can tell you from experience that there are major applications out there that do not take this into account whatsoever when exposing their API.

Given the limited number of major controls vendors in the .NET marketplace, you need to be careful that your application doesn't open itself up to these kinds of conflicts.

Mike Burton
Thanks Mike for the info. Have you tried combining variety of controls in your app? Does it works fine?<br>i just want to make sure what would be the outcome before using any of these controls<br>Thanks
Arnold
We've stuck with just DevExpress as the primary information display controls in our applications, although we use other components from a variety of other sources. Even with just DevExpress in use we've run into the namespace collision problem I mentioned above. There's no reason to believe combining different vendors' controls would lead you to any problems, however - they are all tucked away pretty tidily in their own packages and namespaces, and in general are going to be used by a wide variety of clients so they have to be as open to coexistence as possible.
Mike Burton