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

Localised 'AddNewRowString' in Grid not showing correctly.

2 Answers 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Technik
Top achievements
Rank 1
Technik asked on 06 May 2008, 01:02 PM
Hi,

The localised string is not shown, instead the english version "Click here to add a new row". After clicking on the new row it changes to the correct String "(Neue Zeile)".
This only happens with the AddNewRowString , all others are displayed in German from the beginning.

I wrote my own RadGridLocalizationProvider (for german) and use this code

Public Class RadGridLokalisierungDeutsch
    Inherits RadGridLocalizationProvider
    Public Overloads Overrides Function GetLocalizedString(ByVal id As String) As String
        Select Case id
            Case RadGridStringId.AddNewRowString
                Return "(Neue Zeile)"
           ... ' More cases
            Case Else
                Return MyBase.GetLocalizedString(id)
        End Select
    End Function
End Class

I am guessing this is a bug ? Can you please look into it ?

Thanks in general for the great support, you have always been very helpful.

Regards

2 Answers, 1 is accepted

Sort by
0
Kiril
Telerik team
answered on 06 May 2008, 02:50 PM
Hello Falk Wegener,

Thank you for contacting us.

I cannot notice any irregularity with your Localization provider. When in the execution of your form do you assign it to the RadGridLocalizationProvider.CurrentProvider? I advise assigning it earlier in the execution flow, possibly after the call to InitializeComponent in the form constructor.

I hope this helps. If you have any additional questions, please contact me.

Best wishes,
Kiril
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Technik
Top achievements
Rank 1
answered on 06 May 2008, 02:53 PM
Hi,

thanks for the quick help. It worked.
Tags
GridView
Asked by
Technik
Top achievements
Rank 1
Answers by
Kiril
Telerik team
Technik
Top achievements
Rank 1
Share this question
or