Hi.
I wonder if its posible to Localize the UltraGanttView?
And if it is, where do i find the Resource String Name.
Thanks for the hlelp.
Hi Boris,
and thank you for your help.
How can I attach an image to this post? When I click the Add image/media button, it asks me for an image url (maybe should I upload it before, somewhere?).
By the way, the control I'm talking about is the UltraWinSchedule, and the button that I would translate is the "Day" button, and it is located on the top of the schedule (placed on a toolbar, close to other buttons named Week, Month).
Thanks!
Francesco
Hello Francesco and welcome to our forums!
Could you please let me know where does this "Day" appear, you could also attach a screenshot. And please also let me know what control you are talking about, I am not sure that I understand your exact requirements now.
Hi, I've downloaded the trial version of Netadvantage for Windows Form and I'm playing with the UltraWinSchedule sample.
Even if I'm following your guidelines, I can't get the UltraWinSchedule translated with my custom strings. I'm trying to translate the word "Day".
My code is very simple (inside the frmMain_Load):
this.rc = Infragistics.Shared.Resources.Customizer;
this.rc.SetCustomizedString("DayUIElementAccessibleObject_DisplayName", "Giorno");
I can't see the issue (probably I'm using a wrong resource id?).
Thanks in advance.Francesco R.
You would have to call the following method before InitializeComponent:
static private void SetColumnHeaderText( TaskField column, string text ){ string resourceName = string.Format("TaskProxy_PropertyDisplayName_Task.{0}", column ); Infragistics.Win.UltraWinGanttView.Resources.Customizer.SetCustomizedString( resourceName, text );}
Note that a property will be added for the column header text in a forthcoming service release, so you can set the property at design time.
Thanks for the quick answer.
But I still don't find how to translate from "Task Name" to "Oppgave"
When i go to GridSettings and the to ColumnSettings, i get to the TaskColumnSettings Collection Editor, but even there i cant translate the name in the header.
Sorry for the bad English :-)