This question is locked. New answers and comments are not allowed.
Hi fellows,
I have read enum filtering issues in grid for all MVC, ASPX or Windows forums but there is still not a pure solution for the issue.
I have an enum class, lets Say sth like: Invoice = 1, Waybill = 2
In grid, this enum is displayed as below where TransactionTypeDisplay is the translated description of enum to my localized language.
By now, the translated descriptions of enums are listed; but in filter menu dropdownlist has the words "Invoice" and "Waybill", not localized language forms. Also when I try to apply filter by selecting a value from dropdown, I got an error like "expected type enum actual, type System.Double"
Any suggestions? Thanks in advance.
I have read enum filtering issues in grid for all MVC, ASPX or Windows forums but there is still not a pure solution for the issue.
I have an enum class, lets Say sth like: Invoice = 1, Waybill = 2
In grid, this enum is displayed as below where TransactionTypeDisplay is the translated description of enum to my localized language.
columns.BoundData(o => o.TransactionType).ClientTemplate("<#= TransactionTypeDisplay #>").Filterable(true);By now, the translated descriptions of enums are listed; but in filter menu dropdownlist has the words "Invoice" and "Waybill", not localized language forms. Also when I try to apply filter by selecting a value from dropdown, I got an error like "expected type enum actual, type System.Double"
Any suggestions? Thanks in advance.