Greetings!
On my grid, when the user clicks to edit an item, I'd like to load some additional data do be displayed.
I'm trying to make it inside the Template tag, but it seems like I can't use async functions properly.
I must declare the functions inside the <Template> tag because of the context. I can't access the item being edited outside he Grid <Template>
The error message says: "The 'await' operator can only be used within an async lambda expression. Consider marking this lambda expression with the 'async' modifier."
As I try to use a async lambda expression this message appears: "
Only assignment, call, increment, decrement, and new object expressions can be used as a statement
"
I'm sure I'm doing something wrong, but I'm not sure where.
Could you please give me some help?