Filter Localization

18 posts, 0 answers
  1. Mohammad Qermezkon
    Mohammad Qermezkon avatar
    28 posts
    Member since:
    Sep 2006

    Posted 29 Mar 2010 Link to this post

    Localized possible this control there؟؟؟
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 31 Mar 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andreas
    Andreas avatar
    2 posts
    Member since:
    May 2009

    Posted 06 Apr 2010 Link to this post

    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
  5. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 09 Apr 2010 Link to this post

    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.
  6. Silvio Silva Junior
    Silvio Silva Junior avatar
    100 posts
    Member since:
    Mar 2010

    Posted 27 May 2010 Link to this post

    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.
  7. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 28 May 2010 Link to this post

    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.
  8. Silvio Silva Junior
    Silvio Silva Junior avatar
    100 posts
    Member since:
    Mar 2010

    Posted 28 May 2010 Link to this post

    Thanks Nikolay.

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

    Regards.
  9. Anne
    Anne avatar
    39 posts
    Member since:
    May 2010

    Posted 21 Jul 2010 Link to this post

    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
  10. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 26 Jul 2010 Link to this post

    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
  11. Anne
    Anne avatar
    39 posts
    Member since:
    May 2010

    Posted 27 Jul 2010 Link to this post

    Thank you Nikolay

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

    Anne
  12. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 29 Jul 2010 Link to this post

    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
  13. Anne
    Anne avatar
    39 posts
    Member since:
    May 2010

    Posted 03 Aug 2010 Link to this post

    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
  14. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 06 Aug 2010 Link to this post

    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
  15. Anne
    Anne avatar
    39 posts
    Member since:
    May 2010

    Posted 06 Sep 2010 Link to this post

    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

     

  16. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 07 Sep 2010 Link to this post

    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
  17. Anne
    Anne avatar
    39 posts
    Member since:
    May 2010

    Posted 07 Sep 2010 Link to this post

    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
  18. Alexander Shashkin
    Alexander Shashkin avatar
    15 posts
    Member since:
    May 2010

    Posted 12 Apr 2012 Link to this post

    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!
  19. Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 17 Apr 2012 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017