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?

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | C#
Developer technologies | 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.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.