Blazor bind-Value to component

Djordje Radovanovic 0 Reputation points
2023-10-17T11:50:49.97+00:00

Inside blazor page I have defined child component. I defined bind-value to a component like this:

  <RadLpr @ref="radlpr" @bind-iRadid="SelectedRadid"></RadLpr>

but when the code hit this point I receive this error:

23-10-17T11:33:16.367Z] Error: System.InvalidOperationException: Object of type 'BezraWEB_Server.Pages.RadLpr' does not have a property matching the name 'iRadidChanged'

In my child component variable for receiving parameter is iRadid not iRadidChanged so I consider this as a bug.

Where did I go wrong?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
{count} votes