This question is locked. New answers and comments are not allowed.
I have a field A of type securestring in my Model, i expose a string property for the securestring, converting it to a string, for grid binding.
Sorting on column B works, but when i use filters, it throws an InvalidCastException ( Invalid cast from 'System.String' to 'System.Security.SecureString'.)
Sorting on column B works, but when i use filters, it throws an InvalidCastException ( Invalid cast from 'System.String' to 'System.Security.SecureString'.)
public SecureString A;
public string B{
get { return A.ConvertToUnsecureString();
} //We have a public getter to ensure grid Telerik binding works
set { A = value.ConvertToSecureString();
}}columns.Bound(o => o.B)