It seems that the stock editor that the Data Filter provides for double values allows only 2 decimal places. Is there any way to change this, or do I need to implement a custom editor?
Thanks,
Mark.
2 Answers, 1 is accepted
0
Accepted
Rossen Hristov
Telerik team
answered on 07 Apr 2011, 08:51 AM
Hi Mark,
You don't need to implement a whole new editor. Simply attach to the EditorCreated event of the RadDataFilter. In the event handler check the name of the property and/or whether the editor is a MaskedTextBox. In case you detect that this is the editor that you want to configure, cast it to MaskedTextBox and then you can set any kind of Mask that you need.
I hope this helps. Let me know if there are problems.
All the best,
Ross
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items