localization RadFilterTextFieldEditor

2 posts, 0 answers
  1. Anne
    Anne avatar
    39 posts
    Member since:
    May 2010

    Posted 23 Jun 2011 Link to this post

    Hi,

    How can I used localisation for a fieldEditors like radfilterTextFieldEditor.

    Asp :
    <telerik:RadFilter ID="RadFilter1" runat="server" Skin="WebBlue">        
            <FieldEditors>                 
                <telerik:RadFilterTextFieldEditor DataType="System.String" DisplayName="Customer account" FieldName="CodeClient" />
             </FieldEditors>
    </telerik:RadFilter>

    This VB code does'nt work :
    Private Sub RadFilter1_FieldEditorCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadFilterFieldEditorCreatedEventArgs) Handles RadFilter1.FieldEditorCreated
            If sculture = "fr-FR" Then
                If e.Editor.FieldName = "CodeClient" Then
                    e.Editor.DisplayName = "Code Client"
                End If
            End If
    End Sub

    Have you got an idea to change the DisplayName in this case ?

    Anne
  2. Anne
    Anne avatar
    39 posts
    Member since:
    May 2010

    Posted 24 Jun 2011 Link to this post

    I find a solution with a file App_LocalResources

    CodeClient.DisplayName : Code client
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top