This is a migrated thread and some comments may be shown as answers.

Modal Login Window?

1 Answer 778 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Veteran
Jonathan asked on 20 Apr 2020, 10:13 PM

Hi

Any ideas how I can create a Modal Login Window on startup?

and validate a user / pass? I have done this before using the Telerik ASP.Net - RadWindow.

thx in advance

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 Apr 2020, 02:27 PM

Hi Jonathan,

The Window component is just a container. You can put any content in it (including a form with textboxes). The key thing is implementing the login feature in your Blazor app - once you have it running in a simple <div> that you show with a simple @if-block, you can do the same with the Window (but it's easier to show by binding its Visible parameter to the field, without the if-block). The articles from MSDN here and here can help you get started. If you create such a sample, feel free to open a pull request and post it in this repo, we award such contributions with Telerik points: https://github.com/telerik/blazor-ui.

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Window
Asked by
Jonathan
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or