Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
DataAnnotations in XamGrid
posted

Hi,

today I installed the version 2011.2 after using 2010.3 and I'd like to switch some grids from XamDataGrid to XamGrid because of the better performance.

The only issue I found was that there seems to be a bug (missing feature) in XamGrid and DataAnnotations are not handled when creating columns. Please tell me I missed some setting!

What I want is to ignore a field when setting one of the two annotations:

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DataAnnotations.Display(AutoGenerateField = false)]

I want to use AutoGenerateColumns="True".

Funny thing is: DataAnnotations seem to be supported by the Silverlight component, but not by WPF: http://help.infragistics.com/Help/NetAdvantage/Silverlight/2011.2/CLR4.0/html/xamGrid_Data_Annotations.html There is no such help file for the WPF component...

Is there some easy way to get around this limitation?

  • 30945
    Offline posted

    Hello,

     

    I am just checking if you require any further assistance on the matter.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

  • 30945
    Offline posted

    Hello,

     

    After some research it turns out that the XamGrid does not currently support DataAnnotations in WPF. I have sent your feature request directly to our product management team.  Our product team chooses new feature requests for development based on popular feedback from our customer base.  Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.

     

    We value your input, and our philosophy is to enhance our toolset based on customer feedback.  If your feature is chosen for development, you will be notified at that time.  Your reference number for this feature request is FR13959

     

    If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email.  Please include the reference number of your feature request in the subject and body of your email message.  You can reach Developer Support management through the following email address:  dsmanager@infragistics.com

     

    Thank you for your request.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support