Data Annotations

9 posts, 0 answers
  1. Kevin
    Kevin avatar
    2 posts
    Member since:
    Oct 2010

    Posted 05 Oct 2010 Link to this post

    The Data Annotations topic states that the System.ComponentModel.DataAnnotations.DisplayAttribute attribute can be used to customise how filter fields are displayed. I have attempted to use this attribute in my own data objects but the AutoGenerateFilter and ShortName appear to be ignored by the RadDataFilter control. As it stands there doesn’t appear to be any way to control how the property names are displayed, which makes it hard to see how this control can actually be used in an application. Am I missing something?
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 05 Oct 2010 Link to this post

    Hi Kevin,

    That is totally strange. We are pretty sure that these annotations are supported.

    Could you please open a separate support ticket and send us the sample project that demonstrates how they do not work. We will then see what is wrong.

    Thanks in advance.

    Greetings,
    Ross
    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 WPF is Visual Studio 2017 Ready
  4. Kevin
    Kevin avatar
    2 posts
    Member since:
    Oct 2010

    Posted 05 Oct 2010 Link to this post

    I create a support ticket with a simple project attached to demonstrate the problem but I've also subsequently found (and voted on) the following issue:

    Issue ID 3646 - System.ComponentModel.DataAnnotations.DisplayAttribute is not respected by RadDataFilter in WPF 4.0
  5. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 05 Oct 2010 Link to this post

    Hello Kevin,

    I have just created this issue while answering you, but you are very fast :) :) :).

    In fact I wanted to fix the issue and check it in before I sent you the answer.

    Anyway, I am currently working on it. When it is resolved it will be indicated in the PITS issue that you have already found.

    Thanks.

    Greetings,
    Ross
    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. Hristiliyan
    Hristiliyan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 15 Oct 2010 Link to this post

    I have the same issue , how do you resolve it? 
  7. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 15 Oct 2010 Link to this post

    Hello Hristiliyan,

    The issue is already fixed in our latest internal build (version .1008). For more information you can check the PITS issue link pointed above.

    Greetings,
    Yordanka
    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. Hristiliyan
    Hristiliyan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 15 Oct 2010 Link to this post

    So, how do I fix my problem, or I'll have to wait until the next update is released ?
  9. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 15 Oct 2010 Link to this post

    Hi Hristiliyan,

    You need to download the latest internal build from Your Account ->Free Trials -> RadControls for WPF -> Latest Internal Builds (Trial).

    Sincerely yours,
    Yordanka
    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
  10. Hristiliyan
    Hristiliyan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 17 Oct 2010 Link to this post

    Oh ... OK :) Thank you, I didn't know about this feature. Thanks a lot, in Monday I'll see if that will do the job.
Back to Top
UI for WPF is Visual Studio 2017 Ready