This is a migrated thread and some comments may be shown as answers.

Unabled to localize RadprogressArea

1 Answer 81 Views
Input
This is a migrated thread and some comments may be shown as answers.
Labmaieutiche
Top achievements
Rank 2
Labmaieutiche asked on 16 Dec 2008, 09:49 AM
Hi,
 i'm not able to localize in run-time RadprogressArea.
This code doesn't work:

 

Dim newCulture As CultureInfo = CultureInfo.CreateSpecificCulture(UserLanguageCode)

 

 

Me.RadProgressArea.Culture = newCulture

If i set property:

 

 

Me.RadProgressArea.Localization.ElapsedTime = some text
Me.RadProgressArea.Localization.EstimatedTime = some text
Me.RadProgressArea.Localization.Total = some text

.. doesn't work...


If i write it into aspx page works !


 

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 18 Dec 2008, 04:08 PM
Hi Labmaieutiche,

It worked as expected on my side.

Here is the code I used:

RadProgressArea1.Culture = New System.Globalization.CultureInfo("en-GB")  
RadProgressArea1.Localization.ElapsedTime = "my loc ElapsedTime"  
RadProgressArea1.Localization.EstimatedTime = "my loc EstimatedTime"  
RadProgressArea1.Localization.Total = "my loc Total"  

And here is the result:




Greetings,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Input
Asked by
Labmaieutiche
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
Share this question
or