Logout Button

Hello guys, how are you?
I'm new to blazor and radzen. I accidentally deleted Logout button in the profile menu.
How can I create one?
I don't know how to invoke logout method in Radzen.

Kind regards,
Lucas

Hi @Lucas_Lopez,

Using "Execute C#" with ${Security.Logout()} should do the trick:

Thank you, it worked out

Vladimir,

how would you do this from the panel menu?
thanks

John

@johnmu I am not Vladimir but still :slight_smile: You still need to use the Click event of the PanelMenu - the same as with the ProfileMenu. You just need to use ${event.Text == "Logout"}

Antanas
My apologies for getting you confused. :grinning:

Thanks for the answer.

John