Using IG WinForms 2012 Vol 2 in MS Visual Studio 2010 (yes, we are stuck on old versions because of "management issues")...
Sometimes, within the designer when I set an Appearance.FontData.Bold value to TRUE and try to save the form I get an exception dialog that says:
Code generation for property 'BoldAsString' failed. Error was: 'Object reference not set to an instance of an object'.
When I click OK, it'll display the same message two to four more times.
Any ideas? I have to reset the FontData.Bold value to save the form and then set bold at runtime.
Hello stevenmilz,
I have done an initial investigation into this issue with my colleagues, and in order to proceed with this, I believe I may need a little more information from your end.
As of yet, I have not been able to reproduce this behavior you are seeing, although I feel it may be related to the Visual Studio version that you are using and am in the process of setting up a virtual machine on my end so I can test against Visual Studio 2010.
Would it be possible for you to please provide some information related to the following?
1. Are you are able to attach the stack trace of this error that you are seeing?
2. Is this issue specific to a particular Infragistics control? Which controls are you trying to set the Appearance.FontData.Bold property to "true" on in this case?
3. What is the specific version of the Infragistics for Windows Forms 2012.2 assemblies that you are using? This number should look like 12.2.20122.XXXX.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewSoftware Developer
1. I don't get a stack trace. The error is a dialog when in design view.
2. I've noticed it mostly in the UltraGroupBox.
3. 12.2.20122.2018
Thanks... Steve
I have been investigating into this behavior, and have been testing the 12.2.20122.2018 controls in a Visual Studio 2010 environment, but I cannot seem to reproduce the behavior you are referring to. I have been testing quite a few Infragistics controls, but have mostly been focusing on the UltraGroupBox, as you have said you are able to notice it mostly with that particular control.
It is worth noting that version 12.2 is not a currently supported version, and has since received its final service release. I have not been able to find an internally logged work item that designates that something like this is fixed, but you may want to consider downloading the latest service release of 12.2 in order to see if it is still reproducible there. You can do this by signing into your account on the Infragistics website and visiting https://es.infragistics.com/my-account/keys-and-downloads. There, you should see a list of the products you are registered to, and clicking the 12.2 one will open a new set of tabs where one reads "Service Releases." There, you should see a download for version 12.2.20122.2123.
If the issue is still reproducible in the latest version of Infragistics for Windows Forms 2012.2, I believe that we will need an isolated sample project from you that can be used to reliably reproduce this behavior, as I will then be able to run this against future versions of Infragistics for Windows Forms to see if the issue still exists.