How to get the result preview from the editor

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    6 posts
    Member since:
    Jan 2011

    Posted 11 Jan 2013 Link to this post


    I create a RadExpressionEditor and assign an object base on the following class.

        class TestClass
            public string Name { get; set; }
    Using the editor, I enter the following expression (Count(Name)). At the bottom of the editor, there is a label "Result Preview" that show me the result of the expression. 

    So, I add a button in my interface to retrieve this value, but I don't see a way to get the result of my expression.

    So, what is the best way to retrieve the result of my expression base on a specific object?

    Best Regards,
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 14 Jan 2013 Link to this post


    You can find a sample code on that matter in this forum thread. I hope it will help you.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top