TextBox Properties

4 posts, 0 answers
  1. WILLIAM
    WILLIAM avatar
    134 posts
    Member since:
    Jun 2012

    Posted 24 Sep 2012 Link to this post

    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?
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 25 Sep 2012 Link to this post

    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.

  3. DevCraft banner
  4. WILLIAM
    WILLIAM avatar
    134 posts
    Member since:
    Jun 2012

    Posted 08 Oct 2012 Link to this post

    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.
  5. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 09 Oct 2012 Link to this post

    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.

Back to Top