C#C
C#2y ago
Adam

Error CS0103

I am trying to follow this tutorial: https://learn.microsoft.com/en-us/training/modules/blazor-build-rich-interactive-components/2-create-user-interfaces-blazor-components?ns-enrollment-type=learningpath&ns-enrollment-id=learn.aspnet.build-blazor-webapps

and I am getting error CS0103 when trying to use <div @ref="placeHolder"></div> so that "...Blazor render tree doesn't attempt to track its contents. " and I can use the DOM to act on the div.
Learn about Blazor JavaScript interoperability, loading JavaScript in Blazor, calling JavaScript from .NET, and calling .NET from JavaScript.
Was this page helpful?