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

How to get the result preview from the editor

1 Answer 76 Views
ExpressionEditor
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 11 Jan 2013, 03:58 PM
Hi,

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,

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 14 Jan 2013, 08:02 AM
Hello,

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

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ExpressionEditor
Asked by
Patrick
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or