Hi!
Please, I am trying to get the id of an input control in a Blazor component. How do I access the value of the Id attribute of a blazor component using my C# code in an ASP.NET Core Blazor component.
Thanks, as I look forward to getting your answers.

Nitin SontakkeRank #264 · 9.6K reputationPosted Oct 6, 2022, 12:18 AM EDT
It would be nice to know what you want to achieve.
Paul Awomi25 reputationPosted Oct 6, 2022, 5:21 AM EDT
Ok sir,
Here is what I want.
I am trying to get the id of an input control 'txtCounter' in a Blazor component using my C# codes. How do I access the value of the Id attribute i.e. 'txtCounter' in this case, of a blazor component using my C# code in an ASP.NET Core Blazor component. Attached above is the code I am using.