First thing, Thank you so much for your answer. I appreciate very much. Second thing, my apologies for my english, I know that some times is difficult to understand it.
Ok, I undertstand you and I´m trying to do it, but I don´t know how can I do it.
I explain you... when I change the first dropdown (Name="Centro"), as you said, I call to the method "CambiarLinea" giving it the Id:
protected async Task CambiarLinea(object value)
{
pmsMsLineasForIdCentro = await APTService.GetPmsMsLineasPorCentro(new Query { Filter = $@"i => i.IdCentro == @0 && i.Activo == @1", FilterParameters = new object { value, true } });
}
Ok, this is working OK, because on the second dropdown the information is loaded correctly:
<RadzenDropDownDataGrid Data="@pmsMsLineasForIdCentro" TextProperty="Cod" ValueProperty="Id" AllowClear=true
Placeholder="Seleccione..." style="display: block; width: 100%"
@bind-Value="@cmsMsTurno.IdLinea" Name="IdLinea" />

The problem comes, when for example i´m creating a new register and I select one Center (first dropdown) and one Linea (second dropdown), but finally, imagine that I change the center... When I change the center, the new information about lines is loaded OK on the second dropdown but I don´t know if it´s the cache, because this control keeps the previous selected item (pmsMsPuesto.IdLinea)...
I have tried a lot of things but I cannot fix it... any idead that what can I do?
One more time, thanks a lot for your time and your support.
Have a nice day.
Regards,