Opening a dialog box from link instead of button

Good morning. I'm trying to open a dialog box from a link instead of a button. Is there an example of this? I tried dropping a Radzen link and using the @onclick event but the link doesn't render on the page. Thanks

Try the following:

Hi. Thanks for your response. I'm trying to use HTML as the link text, but it doesn't like it. Something like this:

 <RadzenLink Click="@(args => dialogService.Open<LogicaRatio.WebUI.Pages.Popups.PlaintiffEditPopup>($"Edit Plaintiff {newItem.LitigantName}",
                        new Dictionary<string, object>() { { "CaseKey", theCase.Cases[0].CaseKey }, { "TheLitigant", newItem } },
                        new DialogOptions(){ Width = "700px", Height = "400px" }))">
<i class="fa fa-pencil-square-o" aria-hidden="true"></i></RadzenLink>


Hi @jserwatien,

The RadzenLink does not support HTML content. You can use a regular <a> element if you need that.

But how would I call the function?