Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CascadingParameters and how to propagate
Message
From
30/05/2023 12:46:14
 
 
To
All
General information
Forum:
C#
Category:
Coding, syntax and commands
Title:
CascadingParameters and how to propagate
Miscellaneous
Thread ID:
01686681
Message ID:
01686681
Views:
42
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
Reply
Map
View

Click here to load this message in the networking platform