`Execute c#` type not working

This might be a newbie question.

I had deleted the logout button functionality and I am trying to add it back but none of the normal execute c# types are not working. Example: the logout button calls the Security.Logout() method but it does not work.

To test this further, I added a new page with inline grid and a new row is not added when the "add" button is clicked(but hi shows in the debug window).

What could I be missing?

Stacktrace:

Hi
ss_reqs 0 bp_reqs 0
ss_reqs 1 bp_reqs 0
mono_wasm_fire_bp

mono_wasm_start_single_stepping 2
ss_create_init_args
ss_reqs 0 bp_reqs 0
ss_reqs 0 bp_reqs 0
ss_reqs 0 bp_reqs 0
The thread 0x2c84 has exited with code 0 (0x0).
The thread 0x1a28 has exited with code 0 (0x0).
The thread 0x49b4 has exited with code 0 (0x0).
The thread 0x34a0 has exited with code 0 (0x0).
The thread 0x2264 has exited with code 0 (0x0).
The thread 0x96c has exited with code 0 (0x0).
The thread 0x35a4 has exited with code 0 (0x0).
The thread 0x3 has exited with code 0 (0x0).

Here is how the default logout implementation looks like:

protected async System.Threading.Tasks.Task Profilemenu0Click(dynamic args)
{
   if (args.Value == "Logout")
   {
      await Security.Logout();
   }
}

Thank you @korchev, In the end the issue was that I had missed the Value property of the logout menu item.

Hello @korchev,

I am not sure if the "new page with inline grid" works in the latest Radzen application. To test it out, I created a simple "new page with inline grid" and a new row is not added when the "add" button is clicked. I would prefer this to work instead of using creating a "Datagrid with form". Any inputs on what could be wrong? I am using windows 10 and MySQL database on my local machine.

https://drive.google.com/file/d/1XjH6djLlKg1V5lyfrsjeJYZqfCGcVEva/view