Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CascadingParameters and how to propagate
Message
De
30/05/2023 12:46:14
 
 
À
Tous
Information générale
Forum:
C#
Catégorie:
Code, syntaxe and commandes
Titre:
CascadingParameters and how to propagate
Divers
Thread ID:
01686681
Message ID:
01686681
Vues:
43
Maui Blazor

Trying to propagate CascadingParameters[CP] from Parent to Child. and it's going [explicative deleted].

Basically, got user logging on. Grab UserID and shove into CP. Got value here.

Call child form. declare CP the same way as on parent
[CascadingParameter]
public string LogID{ get; set; }
And it's null. [headdesk]

I've tried putting a name on it
[CascadingParameter(Name='UID")]
public string LogID{ get; set; }
this makes it null coming back from login

I'm probably missing something very simple - but I'm about ready to take a flamethrower to this code.

Can someone 'splain it to me, please?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Répondre
Fil
Voir

Click here to load this message in the networking platform