Change the RadGrid Checklist filter language

3 posts, 0 answers
  1. jeremy
    jeremy avatar
    3 posts
    Member since:
    Aug 2015

    Posted 25 Aug 2015 Link to this post

    I recently tried to use the CheckList filtering on a ​RadGrid but i havn't manage to put my buttons language in french.
    I would like to translate the "Chek All", "Apply" and "Cancel" buttons into french. How is it possible?
    I don't find these elements in the RadFilter.Main.resx or RadGrid.Main.resx.
  2. Eyup
    Admin
    Eyup avatar
    3013 posts

    Posted 28 Aug 2015 Link to this post

    Hi Jeremy,

    You can use the following approach to achieve the requested localization:
    Copy Code
    protected void Page_Load(object sender, EventArgs e)
    {
        RadMenuItem item = RadGrid2.FilterMenu.Items[0];
        RadListBox listBox = item.Controls[0] as RadListBox;
        listBox.Localization.CheckAll = "Zaznacz wszystko";
        Button button = item.Controls[1] as Button;
        button.Text = "Zastosować";
        button = item.Controls[2] as Button;
        button.Text = "Anulować";
    }

    Hope this helps. Please give it a try and let me know if it works for you.


    Regards,
    Eyup
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. jeremy
    jeremy avatar
    3 posts
    Member since:
    Aug 2015

    Posted 07 Sep 2015 Link to this post

    It perfectly work! Thank you!
Back to Top