Can we add the Click attribute to RadzenLink with same functionality of RadzenButton?

I have a solution where I am using RadzenButton, it works, but I don't want it to be a button, I want it to be a link.

I could not use RadzenLink because it doesn't have the functionality I need, doesn't have the Click attribute

I need a Text Button that is like a link, right now a Text Button takes up too much space because of the space allocated for the rollover. Even with Size="ButtonSize.ExtraSmall" it is too big.

I'd like 2(1) with no spacing, seems like adding the Click functionality to RadzenLink is a good solution?

You can set the Variant property of the button to Variant.Text and you will have a text-only button.

The rollover takes up too much space.

To remove the spacing you can set Style="padding: 0; min-width: 0;" to the text button.

1 Like