I'm trying to use the simple example code here: http://www.telerik.com/help/wpf/raddatafilter-features-data-annotations.html
I can't get any of the data annotations to work. Here is the code I'm using:
The XAML is simply <telerik:RadDataFilter Name="DataFilter" />
I can't get any of the data annotations to work. Here is the code I'm using:
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
using
System.ComponentModel.DataAnnotations;
namespace
namespace
{
public
class
dummy
{
[Display(AutoGenerateFilter =
false
)]
public
string
Name
{
get
;
set
;
}
[Display(ShortName =
"Company's Name"
)]
public
string
CompanyName
{
get
;
set
;
}
public
string
Title
{
get
;
set
;
}
}
}
The XAML is simply <telerik:RadDataFilter Name="DataFilter" />