How to Translate RadDataFilterOperator's ?

5 posts, 1 answers
  1. Marcelo
    Marcelo avatar
    28 posts
    Member since:
    Jul 2010

    Posted 12 Apr 2011 Link to this post

    Hi guys,
    First of all, I'm using VS10, RadControls for SL Q3 2010

    There's a way to translate the FilterOperator's?

    I was thinking to do something with a Converter, but didnt work...
    Here go my scenario:

    Resouces:

     

    <DataTemplate x:Key="ComboFilterVariablesEditorTemplate">
                <telerik:RadComboBox MinWidth="100"
                                         SelectedValuePath="Codigo"
                                         DisplayMemberPath="Nome"
                                         IsEditable="True"
                                         IsTextSearchEnabled="False"
                                         LostFocus="comboBoxEditor_LostFocus"
                                         Loaded="RadComboBox_Loaded"
                                         Unloaded="RadComboBox_Unloaded"/>
            </DataTemplate>
     
    <Local:ProwiseDropBoxTemplateSelector x:Key="LocalProwiseDropBoxTemplateSelector">
                <Local:ProwiseDropBoxTemplateSelector.EditorTemplateRules>
                    <Local:EditorTemplateRule DataTemplate="{StaticResource ComboFilterVariablesEditorTemplate}"/>
                </Local:ProwiseDropBoxTemplateSelector.EditorTemplateRules>
            </Local:ProwiseDropBoxTemplateSelector>


    Controls:


    <telerik:RadDataFilter Name="radDataFilter"
                                 EditorTemplateSelector="{StaticResource LocalDropBoxTemplateSelector}"
                                  VerticalAlignment="Top" Height="151"
                                  Source="{Binding Columns, Mode=TwoWay}"
                                  Margin="1,14,24,0"/>
     
                           <telerik:RadGridView x:Name="GridFiltro"
                                Grid.Row="1" SelectionMode="Extended"
                                ShowGroupPanel="False"
                                AutoGenerateColumns="True"
                                Height="220" Width="898"
                                VerticalAlignment="Bottom"
                                IsFilteringAllowed="False"/>

    Thanks in advance!
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 13 Apr 2011 Link to this post

    Hi Marcelo,

     

    Generally, without having a project to debug I may only guess what happens.
    However I noticed that you have missed to subscribe to the RadDataFilter's EditorCreated event as demonstrated here. Please try it by your side and let me know how it goes. If this does not help you may also submit a new support ticket where you can attach a runnable project which we can use for local testing.


    Regards,
    Vanya Pavlova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Marcelo
    Marcelo avatar
    28 posts
    Member since:
    Jul 2010

    Posted 13 Apr 2011 Link to this post

    Hi Vanya,

    I'm not sure if u understood me. Sorry if I wasn't clear enough

    What I want is to translate the filter operator's, like "Less than" to  "Menor Que" (Portuguese)

    What the examples demonstrates, I already did...
  5. Answer
    Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 13 Apr 2011 Link to this post

    Hi Marcelo,

     

    Please accept my apology for the misunderstanding. You actually need to localize the RadDataFilter. I believe that the following forum thread "DataFilter Localization" would be useful for you on that matter. Please give it a try and let me know how it goes. In case you have any further inquiries you may submit a new support ticket where you can attach small repro application which we can use for local testing.


    I am waiting to hearing from you!


    All the best,
    Vanya Pavlova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Marcelo
    Marcelo avatar
    28 posts
    Member since:
    Jul 2010

    Posted 13 Apr 2011 Link to this post

    Hi Again Vanya,

    Thanks for u quickly answer! It's working Now!

    I just had to add the FilterIsNotContainedIn and FilterDoesNotContain on your list of "key filters" in the other page.

    1 thing that I got lost and left here the tip for someone: Set the resource file to internal/private. I don't know why, but a had to download one of your examples to discover that I had to do it... 
Back to Top
DevCraft banner