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

Filter Localization

17 Answers 250 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Mohammad Qermezkon
Top achievements
Rank 1
Mohammad Qermezkon asked on 29 Mar 2010, 09:46 AM
Localized possible this control there؟؟؟

17 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 31 Mar 2010, 02:08 PM
Hello Mohammad,

Currently we are working on implementing functionality so all the text in the menu for RadFilter could be changed. Thus localization for all FilterFunctions/GroupOperations will be possible.

Regards,
Nikolay
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
Andreas
Top achievements
Rank 1
answered on 06 Apr 2010, 03:04 PM
Hi Nikolay,

thanks for your answer. Is there a date when the localization will be available. In the next Hotfix or in the Q2 release?

Thanks for your help.

Best Regards,
Andreas
0
Nikolay Rusev
Telerik team
answered on 09 Apr 2010, 05:58 PM
Hello Andreas,

Localization of RadFilter will be available for Q1 SP1 release of RadControls for ASP.NET AJAX, which will be available until the end of next week.

Regards,
Nikolay
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
Silvio Silva Junior
Top achievements
Rank 2
answered on 27 May 2010, 07:06 PM
Hello guys.

Filter Localization is ready? I'm seeing this link:

http://www.telerik.com/help/aspnet-ajax/filter-localization.html




but my grid doesn't have this property.

It's version problems?

Regards.
0
Nikolay Rusev
Telerik team
answered on 28 May 2010, 09:19 AM
Hello Silvio,

RadGrid localization support will be available for Q2 2010 release of RadControls for ASP.NET AJAX.

Greetings,
Nikolay
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
Silvio Silva Junior
Top achievements
Rank 2
answered on 28 May 2010, 02:15 PM
Thanks Nikolay.

I have downloaded the latest version and it resolved my issue.

Regards.
0
Anne
Top achievements
Rank 1
answered on 21 Jul 2010, 10:57 AM
Hello,

I use RadFilter.Main.Resx and I obtain a good result but...

Please, can you give the name of two items to complete it ?

'Open the calendar popup'
'Open the time view popup'

Anne
0
Nikolay Rusev
Telerik team
answered on 26 Jul 2010, 12:52 PM
Hello Anne,

Unfortunately this is missing from the localization of RadFilter. You can change the values for this properties of RadDateTimePicker programmatically. For example the following code snippet will change that text on all RadDateTimePickers inside RadFilter.

01.protected void RadFilter1_PreRender(object sender, EventArgs e)
02.    {        
03.        ControlsOfType<RadDateTimePicker>(RadFilter1).Select(picker=> 
04.            {
05.                picker.DatePopupButton.ToolTip = "Date Popup Button ToolTip";
06.                picker.TimePopupButton.ToolTip = "Time Popup Button ToolTip";
07.                return picker;
08.            }).Count();
09.    }
10.  
11.    public IEnumerable<T> ControlsOfType<T>(Control parent) where T : class
12.    {
13.        foreach (Control control in parent.Controls)
14.        {
15.            if (control is T)
16.            {
17.                yield return control as T;
18.                continue;
19.            }
20.  
21.            foreach (T descendant in ControlsOfType<T>(control))
22.            {
23.                yield return descendant;
24.            }
25.        }
26.    }


Best wishes,
Nikolay
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
Anne
Top achievements
Rank 1
answered on 27 Jul 2010, 04:28 PM
Thank you Nikolay

Can you translate your code in vb, please ?
I try do it (alone and with conversion tools) with no success :-(

Anne
0
Nikolay Rusev
Telerik team
answered on 29 Jul 2010, 04:41 PM
Hello Anne,

You can try paste the code in http://converter.telerik.com/.

All the best,
Nikolay
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
Anne
Top achievements
Rank 1
answered on 03 Aug 2010, 10:54 AM
Hello Nikolay,

I try translate with no success !

If TypeOf control Is T Then
   yield Return TryCast(control, T)
   Continue For
  End If

Problem with 'yeild'

Anne
0
Nikolay Rusev
Telerik team
answered on 06 Aug 2010, 11:06 AM
Hello Anne,

You can convert to VB as follow:
Protected Sub RadFilter1_PreRender(ByVal sender As Object, ByVal e As EventArgs) Handles RadFilter1.PreRender
       ControlsOfType(Of RadDateTimePicker)(RadFilter1)
       collection.Select(Function(picker)
                             picker.DatePopupButton.ToolTip = "Date Popup Button ToolTip"
                             picker.TimePopupButton.ToolTip = "Time Popup Button ToolTip"
                             Return picker
                         End Function).Count()
   End Sub
   Dim collection As List(Of RadDateTimePicker) = New List(Of RadDateTimePicker)
   Public Sub ControlsOfType(Of T As Class)(ByVal parent As Control)
       For Each control As Control In parent.Controls
           If TypeOf control Is T Then
               collection.Add(control)
           End If
           For Each descendant As Control In control.Controls
               ControlsOfType(Of T)(descendant)
           Next
       Next
   End Sub


All the best,
Nikolay
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
Anne
Top achievements
Rank 1
answered on 06 Sep 2010, 09:01 AM
Hello Nicolay,

A part of this code isn't recognize by vb2008 :

 

collection.Select(

Function(picker) _

 

picker.DatePopupButton.ToolTip =

"Date Popup Button ToolTip" _

 

picker.TimePopupButton.ToolTip =

"Time Popup Button ToolTip" _

 

 

Return picker _

 

 

End Function).Count()

Can you help me because I don't know how to use this type of code.

Anne

 

0
Nikolay Rusev
Telerik team
answered on 07 Sep 2010, 11:22 AM
Hello Anne,

You can simply iterate the generic list of RadDateTimePicker controls named "collection" instead of the line in question.

Best wishes,
Nikolay
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
Anne
Top achievements
Rank 1
answered on 07 Sep 2010, 12:38 PM
Of course Nikolay

Dim collection As List(Of RadDateTimePicker) = New List(Of RadDateTimePicker)
Public Sub ControlsOfType(Of T As Class)(ByVal Parent As Control)
    For Each Control As Control In Parent.Controls
        If TypeOf Control Is T Then
            collection.Add(CType(Control, RadDateTimePicker))
        End If
        For Each descendant As Control In Control.Controls
            ControlsOfType(Of T)(descendant)
        Next
    Next
End Sub
Private Sub RadFilter1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadFilter1.PreRender
    ControlsOfType(Of RadDateTimePicker)(RadFilter1)
    For Each picker As RadDateTimePicker In collection
        picker.DatePopupButton.ToolTip = "Ouvrir la fenêtre calendrier"
        picker.TimePopupButton.ToolTip = "Ouvrir la fenêtre de saisie de l'heure"
    Next        
End Sub

Thank you very much
Anne
0
Alexander Shashkin
Top achievements
Rank 1
answered on 12 Apr 2012, 12:12 PM
Hi All,
Nikolay, thank you very much for temp fix for tooltip issue. But I'm very interested in normal solution of its localization.
Do you have any plans to implement it? If yes then do you have any timeline for it?

Notice that we need normal solution mostly for grid's filter.
Thanks!
0
Tsvetina
Telerik team
answered on 17 Apr 2012, 12:38 PM
Hello Alexander,

For RadGrid, there is localization for the filter item already implemented. You can see a live example here:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/localization/defaultcs.aspx

All the best,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Filter
Asked by
Mohammad Qermezkon
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Andreas
Top achievements
Rank 1
Silvio Silva Junior
Top achievements
Rank 2
Anne
Top achievements
Rank 1
Alexander Shashkin
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or