Manipulate EditorTemplate

2 posts, 1 answers
  1. Andrew
    Andrew avatar
    28 posts
    Member since:
    Mar 2013

    Posted 05 Apr 2013 Link to this post

    I'm trying to customize my property grid.  Is there a way to access the EditorTemplate at runtime in code behind?

    1) for strings that use text editors, I want to access the text changed event, so I can validate entries as the user types instead of waiting until the field loses focus.

    1) to customize the editor's background color and border at runtime.
  2. Answer
    Maya avatar
    4062 posts

    Posted 08 Apr 2013 Link to this post

    Hello Andrew,

    Generally, you can find any element child of another one with the help of ChildrenOfType<T>() extension method. Check out this blog post for a reference. 

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top