Posted 09 Dec 2010
Link to this post
You are trying to cast StringFilterEditor to RadMaskedTextBox.
The filter editor for the "RegisterTime" column is a StringFilterEditor and not a RadMaskedTextBoxEditor. This is caused by the fact that you column's data type is string and is not numeric.
For string properties you get a StringFilterEditor. For numeric properties you get a RadNumericUpDown. Form DateTime's you get RadDateTimePicker. For enums you get RadComboBox. All of this is demonstrated in the Standard Editors Example.
In case you want to change the default editors, you can do this by following the Custom Filter Editors example.
I hope this helps.
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.