Hi !
i have a big problem. i'm trying to localize a user control which contains some ultraoptionset. The problem is that is not working.
i have also tried to localize a ultraoptionset which is in a simple form but it's not working !
ps:i'm using infragistics 7.2 (7.2.20072.61). is this a bug or am i wrong ?
thank you, regards!
Could you be a little smore specific? What exactly are you doing and what is not working?
i'm doing a simple localization... and it's not working :(
with VS2005 create a simple windows application project and drag & drop an ultraoptionset inside the form. It will create a ultraoptionset with one radio button inside it. The label of this radio button is "default item". Change it to "Yes". Then, set the property Localizable of the form to true. Now change the language of the form to Italian. Next change the Display Text property of the ultraoptionset to "Si" (which is yes in Italian).
Now you believe that the localization is ok but it is not !! try to change from one language(from default) to another(to italian). you will see that it is not working. the label of the radio button turns in "Default Item" in both languages.
thank you !
oh my god !!!
but i have 20 user controls and each uc has 7-8 ultraoptionsets !! i dont want and it is not good to write code for the localization !!
:(
is there a way to fix this ?
the other controls does not have this problem !
maybe the ultraoptionset could be implemented in different way rather then using collections
ps: i have created a video http://evald80.altervista.org/ultraoptionset/Untitled.html
pps:there is also a bug with the localization of the ribbon !!!
Hi,
Okay, I wanted to know how you were doing the localization and now I know.
I'm pretty sure this is a bug in Visual Studio. The VS form designer does not properly handle collections. It doesn't really have any way to uniquely identify the items in a collection, so it can't localize them properly.
I would recommend using the Form_Load event and just putting in a switch statement to set the Text on each item in the OptionSet based on the CurrentCulture.