Has anyone been able to get the UIElementViewer to work in a VB.Net Project using NetAdvantage Windows Form 2009 Volume 1? I can get the UIElementViewer to popup but it doesn't recognize any of the UltraGrid Elements. Any Ideas???
Hi,
I use the UIElementViewer with v9.1 all the time and it works fine for me. I can't see why the version of the controls would matter.
It's so odd. I have the UIElementViewer working in one project but it won't work in my other projects. I just created a new project where I put a single UltraGrid on the Form with a dataconnection and added the reference to the UIElementViewer. The UIElementViewer displays but still it doesn't display any elements. I can't seem to figure out what is different between the two projects.
Can you zip up your sample project and post it here. I will run it and see if it works on my machine.
I also had this problem with V14.1. Setting Platform Target to x86 solved it.
Please fix that issue.
Thanks
Michael
Thanks for the tip alfred,
I was having this problem. Setting the Platform Target to x86 fixed it.
Infragistics, I suggest you to update the blog post of the UIElementViewer to include this tip. I lost a lot of time trying to figure out what was wrong and this simple (but not obvious) configuration parameter solved my problem.
Are you using a 64-bit operating system?
If so, when attempting to use the UIElementViewerForm, you might consider setting the 'Platform Target' to 'x86'.
The 'Platform Target' setting is on the 'Build' tab of the project properties. If you are on a 64-bit operating system and this value is set to 'Any CPU', it is likely that the UIElementViewerForm will not recognize the elements on your form. Setting the 'Platform Target' during testing will allow the UIElementViewerForm to work. Be sure to set this back to 'Any CPU' before deployment, as appropriate.
Actually, I just thought of a potential explanation. Perhaps your application is somehow referencing multiple versions of the assemblies. If you have two copies of the same assembly of different versions in memory at the same time, it will cause all sorts of problems and it could cause the UIElementView to stop working.
Your sample here doesn't seem to be referencing anything but v9.1, but I can't tell exactly what those references are resolving to on your machine. Perhaps one of them is using a service release and others are not. Check the version on each of the Infragistics assemblies in your application and see if that are all the same (not including the UIElementView itself).
Hi Derek,
I could not run your sample as-is, since it's pointing to a SQL Server that I don't have access to. But when I took that code out, the UIElementViewer is working fine for me. So there must be something on your machine preventing it from working.
It seems unlikely that this has anything to do with the data source, but I can't think of anything else it could be.