© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
error CS1061, error CS0105, CS0103
C
C# / help
2y ago
C# help CS0103
C
C# / help
3y ago
Help with defintions in my code (CS1061 AND CS0103)
C
C# / help
13mo ago