we noticed an issue with the GroupCondition:
We want to apply a GroupColum for the GroupCondition by a Datasource.
The Colum is saved as string into a 2nd Datasource e.g.
ViewerUI.SortField == "Client"
This code works (as expression in the GroupCondition):
Code: Select all
{ ViewerUI.SortField == "Client" ? V_Addresslist.Client.ToUpper().Substring(0, 1) : (ViewerUI.SortField == "Location" ? V_Addresslist.Location.ToString() : "")}
However when structuring the Code to:
Code: Select all
{
ViewerUI.SortField == "Client" ? V_Addresslist.Client.ToUpper().Substring(0, 1) :
(ViewerUI.SortField == "Location" ? V_Addresslist.Location.ToString() :
"");
}
2nd question:
How can you apply lamda expressions for the expression?
Thank you.