RadzenMenuItem Path property

Hi. I'd like to do something like this: RadzenMenuItem Text="Documents" Path="documents/@GroupId"
where I'll be sending in the GroupId from another component. Is there a way to do this? Thanks.

Hi @paulgehrman,

Welcome to the Razden community!

This case needs a bit different expression because Blazor does not support what you have tried.

Use this instead (C# string interpolation):

<RadzenMenuItem Path=@($"documents/{GroupId}") />

Excellent, thanks. :grinning: :grin: