Unabled to localize RadprogressArea

2 posts, 0 answers
  1. Labmaieutiche
    Labmaieutiche avatar
    4 posts
    Member since:
    Jul 2008

    Posted 16 Dec 2008 Link to this post

    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 !


     

  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 18 Dec 2008 Link to this post

    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.
Back to Top