This is a migrated thread and some comments may be shown as answers.

TextBox Properties

3 Answers 70 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
WILLIAM
Top achievements
Rank 1
WILLIAM asked on 24 Sep 2012, 09:26 PM
I am trying to implement your filter control and I'm finding difficult to do any sort customization for how the field behaves.

If the field type is numeric, you can't make it so they can only enter numbers.  even your own demos allow "abc" in the Quantity field.  Also, it seems that the "editor" is a basic Textbox control.  Why not use the RadMasked... controls so that it would be easier to enhance the behavior for certain fields?

3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 25 Sep 2012, 07:13 AM
Hello,

You can modify an existing editor by attaching to the EditorCreated event.

You can replace the stock editor with your very own editor like shown in the Custom Editors Demo.

Both topics are covered in the documentation.

Kind regards,
Ross
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
WILLIAM
Top achievements
Rank 1
answered on 08 Oct 2012, 08:58 PM
I have previously tried that, using templates and the template selector.  Visually it works, i.e. the editor specified by the template is displayed.  However, when I'm looping through the filter descriptors to get the values, the value for the descriptor is null.  I believe this means, that the value entered into the editor did not get propagated down to the Value property in the FilterDescriptor.
0
Rossen Hristov
Telerik team
answered on 09 Oct 2012, 07:07 AM
Hi,

That is correct, the Value property of the FilterDescriptor holds the value that will be actually used for filtering by data engine. You have to make sure that it is properly set by your Binding just like in the Custom Editors Demo.

Troubleshooting Silverlight Bindings however, falls outside the scope of Telerik support.

Regards,
Ross
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DataFilter
Asked by
WILLIAM
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
WILLIAM
Top achievements
Rank 1
Share this question
or