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

How to Translate RadDataFilterOperator's ?

4 Answers 43 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 12 Apr 2011, 08:38 PM
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!

4 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 13 Apr 2011, 10:32 AM
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
0
Marcelo
Top achievements
Rank 1
answered on 13 Apr 2011, 12:27 PM
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...
0
Accepted
Vanya Pavlova
Telerik team
answered on 13 Apr 2011, 12:35 PM
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
0
Marcelo
Top achievements
Rank 1
answered on 13 Apr 2011, 06:07 PM
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... 
Tags
DataFilter
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Marcelo
Top achievements
Rank 1
Share this question
or