Hi.I am binding my class to the Ultra Tree in my multi language application. I use the DisplayName-Attribute for translate the properties in this class but i have the problem, that my BindingList<t> properties with other sub classes ignores that attribute. After binding i have tried to rename the nodes manually but this was been automaticaly reseted. How can i translate the BindingList<t> properties?
Thanks for help
Sven
Hi Sven,
Does this work for other controls? For example, if you bind your DataSource to the Microsoft DataGridView control, does it show the DisplayName? If so, then I'd consider this a bug in the tree.
Anyway, what exactly are you trying to change the display name of? I assume you mean the column headers, since you mentioned properties. You should be able to set the HeaderCaption of each column in your ColumnSet. There's no reason why the tree should be re-setting it, unless you are doing something like re-binding the tree.
Hi,
If you refer to changing nodes text, please check the following forum posts: http://community.infragistics.com/forums/p/46103/249001.aspx#
Can you please give us more details about your scenario if I misunderstood your question.
Regards,
Stefaniya
Let me know if there is something I can help you with.
This discussion thread began in 2010, so if this was fixed (and I think it probably was) it would have been fixed in a later version than 9.2. So you can still use the HeaderCaption property on the column. If you want the control to pick up the DisplayName attribute, you will need to upgrade to the latest version.
Hi, is it a known issue for the ultraTree?
I just tested using DataGridView and it shows the correct column header (reading directly from the property attribute DisplayName), but on the tree is shows the property name.
I'm using infragistics 9.2
Thanks you