Edit this page

End-user Support

End-users have two options for getting the RadExpressionEditor shown at run time:

Showing RadExpressionEditor from RadGridView User Interface

End-users can open the editor by navigating to a built-in menu item from the context menu of RadGridView. In order to enable this menu item, the developer has to set the EnableExpressionEditor property true. Please note that the expression column should be an unbound column:

gridview-expressioneditor-end-user-support 001

GridViewTextBoxColumn col = new GridViewTextBoxColumn();
col.Name = "expression";
col.HeaderText = "My Expression";
col.Width = 150;
col.EnableExpressionEditor = true;

Dim col As GridViewTextBoxColumn = New GridViewTextBoxColumn()
col.Name = "expression"
col.HeaderText = "My Expression"
col.Width = 150
col.EnableExpressionEditor = True

Showing RadExpressionEditor on a custom user action

The developer can show RadExpressionEditor on a custom user action, for example on a button click, without using the standard UI of RadGridView. To do so, the developer should just call the static Show method:

RadExpressionEditorForm.Show(this.radGridView1, this.radGridView1.Columns["expression"]);

RadExpressionEditorForm.Show(Me.RadGridView1, Me.RadGridView1.Columns("expression"))

See Also