How to use Login Component

I am new to the Radzen Blazor components and want to use the Login component however, it is unclear how I bind the username and password to my view model. The example on the website only shows markup not the code-behind. Can someone point me in the right direction?

Andy

Hi @AndyFraser,

You can see the complete source of every online demo by clicking the "Edit Source" button.
login

@korchev Thank you very much - I missed the Edit Source :frowning:

Andy

I tried using the Radzen login component and after binding the data and clicking on submit it still did nothing

You can debug your code by checking if the AccountController.cs post method Login is being called.

What did you expect to happen on submit? RadzenLogin either posts to a specified location or fires its Login event as shown in the demo: Blazor Login Component | Free UI Components by Radzen