Hi,
I have a logout button/link on my header, which i now want to move to a ProfileMenu instead. So far I have the following ProfileMenu:
<RadzenProfileMenu>
<Template>
<RadzenIcon Icon="account_circle"></RadzenIcon>
</Template>
<ChildContent>
<RadzenProfileMenuItem Text="Manage account" Path="Identity/Account/Manage" Icon="manage_accounts"></RadzenProfileMenuItem>
<RadzenProfileMenuItem Text="Logout" Icon="power_settings_new">
</RadzenProfileMenuItem>
</ChildContent>
</RadzenProfileMenu>
The working logout link is as follows:
<form method="post" action="Identity/Account/LogOut">
<button type="submit" class="nav-link btn btn-link">Log out</button>
</form>
How can I achieve the same functionality in the ProfileMenu? Is there a way to specify a post request in the Path of RadzenProfileMenuItem?