Concatenate label text?

Is there a way to concatenate a labels text?
For example something like this where @productId is a variable assigned within the code section or is this only possible using two labels?

<RadzenLabel Text = "Product ID: " + @productId />

Hi @sb718,

Yes, you can use C# string interpolation:

<RadzenLabel Text=@($"Product ID {productId}") />
1 Like