© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
4 replies
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.
JavaScript interoperability with Blazor - Training
Learn about Blazor JavaScript interoperability, loading JavaScript in Blazor, calling JavaScript from .NET, and calling .NET from JavaScript.
JavaScript interoperability with Blazor - Training
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

error CS1061, error CS0105, CS0103
C#CC# / help
2y ago
C# help CS0103
C#CC# / help
3y ago
Help with defintions in my code (CS1061 AND CS0103)
C#CC# / help
13mo ago