Inline Dialog Example

I'm trying to implement the inline dialog sample fround on Blazor Dialog component

Yet, just adding it to my razor page, gives an error:
image.
Am I missing something?

Hi @kolaval,

The image in your post is not uploaded, try again.

Hi @kolaval,

Are you trying to use an inline dialog from a C# file (.cs) or Razor (.razor)? It will work only in the latter as it needs the Razor parser.

.razor.cs code behind file.

Then it won't work. You have to use a razor file for razor markup.

1 Like