Hi, if i create a winform application and i put a ultracombo on it and my form is localized and after we create a application resource string with value empty, the ultracombo checkstatemember look for it in the designer code
the designer look like
this.ultraCombo1.CheckedListSettings.CheckStateMember = global::WindowsFormsApplication13.Properties.Resources.test;
CheckStateMember take the last resource with value to string.empty
I have attached a very simple sample. Its a bug ?
What version of Visual Studio are you using?
I'm pretty sure this is not related to the Infragistics controls specifically. I have seen this behavior in Visual Studio many times. It seems to assume that all empty strings can share a common resource.
im using vs 2010 (with SP1) and infragistifs 9.2 (with service release)
First of all, why CheckStateMember DefaultValueAttribute is
DefaultValue((string) null)
instead of DefaultValue("")
CheckStateMember should serialize null when he dont have a value in designer code instead of "" OR DefaultValue should be DefaultValue("").
With the correct attribut, this "bug" will disapear!
Hello pmorin,
Engineering has alrerted us in Developer Support reagrding this issue, so we will be creating a private support case and logging a Development Issue on your behalf. Someone will be in touch with you shortly via the new support case with the details.
Thanks,
Ok thanks
Hi,
I agree, the default value of this property should be an empty string and not null. I will forward this thread over to Infragistics Developer Support so they can open a case for you and write this up for developer review.