When toggling the state of the Visible Property on a Radzen button, the MouseEnter call never gets triggered. I also tried without toggling the disabled property, same behavior. If I set the Visible property to "true" it works fine.
<RadzenButton Click="@Remove" Text="Permanently Ignore" Style="margin-top: 20px;" Visible="!disableIgnoreButton" Disabled="disableIgnoreButton" MouseEnter="@(args => ShowTooltip(args, new TooltipOptions(){ Duration = 4000, Text="Remove the item from this list permanently", Position = TooltipPosition.Right }))">
Not sure if this is the intended behavior or if there is another way to accomplish this.
Hello @enchev, I'm also running into a similar issue, but when used with a RadzenIcon within a RadzenGridColumn of a RadzenGrid.
Here is my code:
<RadzenIcon Icon="info" Style="vertical-align: middle" Visible="IsVisible"
MouseEnter="@(args => ShowTooltip(args, new TooltipOptions(){
Position = TooltipPosition.Right,
Style = "color:#000; font-size:90%",
Text = string.Join(", ", @data.Name, @data.Team),
Duration = 5000 }))">
</RadzenIcon>
The issue is that the MouseEnter event does not fire consistently, i.e., the Tooltip is displayed only for some rows in the Datagrid but not others. However, as @codep mentioned, it works fine when the Visible property is set to "true". Any idea why this is so?
I also tried upgrading to the latest version 2.16.3 that was released about 22 hours ago, but still see the issue. Appreciate any insights or workarounds that you may have. Thanks!
I ended up wrapping the control in an IF statement to control visibility instead of the visible property on the control. This worked fine in regards to the tooltip showing.