DataFilter With Arabic or Persian Values

4 posts, 2 answers
  1. Hossein
    Hossein avatar
    11 posts
    Member since:
    Jul 2013

    Posted 10 Jul 2013 Link to this post

    Hi,

    I have a RadDaraFilter that has been bounded to a RadDataGrid.
    The columns of table are (Name, LName, Tel) in SQL, So, the radDatafilter has been shown ("Name, LName, Tel").

    How I could change the field of radDataFilter from "Name" to "Person's Name" or from "LName" to "Last Name", Please?
    Thanks

  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 10 Jul 2013 Link to this post

    Hello,

    To achieve your goal, you can set AutoGenerateItemPropertyDefinitions to false for the DataFilter and then manually define the properties that you would like to show. This is done through the ItemPropertyDefinitions collection. Please note that each ItemPropertyDefinition has three properties:

    - PropertyName
    - PropertyType
    - DisplayName

    I hope this helps.
     

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Hossein
    Hossein avatar
    11 posts
    Member since:
    Jul 2013

    Posted 10 Jul 2013 Link to this post

    Dear Didie 

    Thanks for your quick and truth reply.
    Another problem is that:

    How I could change the filter ("Is equal to", "Contain", .....) of radDataFilter in multi language programs?

    For example, I want to use the translate of "Contain" in Arabic language.

    With Best Regards;
    Hossein.
  5. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 10 Jul 2013 Link to this post

    Hi,

    I would suggest you to check this help article for a reference. 

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top