Problem with Execute code result

Hello Radzen Team!

There is something weird with the result of an Execute function:

In my case, I'm expecting a int? return type.

Hi @kim,

Can you check what's returned from your delete method? Here is what I have and it works normally:

After checking your example, it seems that I forgot the "return" keyword. Everything is working now.
Thanks for the help!

Also, before you go, could you add a condition to the first Execute in your Click handler?
I can't get Radzen to format things correctly with multiple nested conditions.

There's a missing bracket.

Confirmed! Fix will be published early next week!

1 Like