In blazor, how do I let a razor component with a card pop up after a click on a button/pic

Ningran Meng 21 Reputation points
2021-11-28T19:28:18.387+00:00

I am doing a web app that helps my colleagues search for projects, how do I make a razor component with project status pop up after a click event?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,500 questions
0 comments No comments
{count} votes

Accepted answer
  1. Zhi Lv - MSFT 32,106 Reputation points Microsoft Vendor
    2021-11-29T08:26:11.123+00:00

    Hi @Ningran Meng ,

    Welcome to Microsoft Q&A forum.

    how do I make a razor component with project status pop up after a click event?

    Not sure what effect you want to achieve in the end, can you make a simple sample to explain more detail about the popup card?

    Besides, for the popup modal and cards, you could consider using the Boostrap Modals and Cards. You can also refer to the following articles:

    Creating Your First Modal Pop Up Custom Component Using Blazor Web Assembly And .NET Core 3.1

    Modal Popup Window In Blazor WebAssembly

    Best Regards,
    Dillion


1 additional answer

Sort by: Most helpful
  1. Michael Washington 911 Reputation points MVP
    2021-11-28T19:49:16.487+00:00
    1 person found this answer helpful.
    0 comments No comments