I have an Enum Model called TargetType and ReportViewModel. All the records from the Report table is listing in a kendo grid using the viewmodel ReportViewModel. But the problem is If I try to filter the enum type column 'EmpTypes' it will break the application and cannot filter it. How can I make it filter the column EmpType in Kendo?
public enum EmpTypes { [Display(Name="Service") Service = 0, [Display(Name="Sales") Sales = 1 [Display(Name="Purchase") Purchase = 2, [Display(Name="Office") Office = 3 } public class ReportViewModel { public string Name {get;set;} public EmpTypes EmpTypes {get;set;} }