Hi,
I have a grid, with a column called ProcessName, which contains data from various processes.
In the codebehind, i can successfully create a filter like so:
This filters the grid as you would expect.
I wish to find 2 values in the column, and believe I should use BETWEEN but i'm unsure of the syntax. I changed the code to:
but it doesn't work. Could anyone help me please?
Thanks
Chris
I have a grid, with a column called ProcessName, which contains data from various processes.
In the codebehind, i can successfully create a filter like so:
column = RadGrid2.MasterTableView.GetColumnSafe(
"ProcessName"
)
column.CurrentFilterFunction = GridKnownFunction.EqualTo
column.CurrentFilterValue = cboProductSelectedValue
RadGrid2.MasterTableView.FilterExpression =
"([ProcessName] = 'Process1
')"
RadGrid2.MasterTableView.Rebind()
This filters the grid as you would expect.
I wish to find 2 values in the column, and believe I should use BETWEEN but i'm unsure of the syntax. I changed the code to:
column = RadGrid2.MasterTableView.GetColumnSafe(
"ProcessName"
)
column.CurrentFilterFunction = GridKnownFunction.Between
column.CurrentFilterValue =
"Process1 Process2"
RadGrid2.MasterTableView.FilterExpression =
"([ProcessName] BETWEEN 'Process1 Process2')"
RadGrid2.MasterTableView.Rebind()
but it doesn't work. Could anyone help me please?
Thanks
Chris