GridCommandButton not showing Tool Tip when its Enabled false

1 Answer 202 Views
General Discussions Grid
Vishnu
Top achievements
Rank 1
Iron
Veteran
Vishnu asked on 05 Oct 2021, 04:02 PM

Hi Team,

In GridCommandButton when we Enabled = false, TheTool Tip is not showing.

<GridCommandButton Command="Edit" Enabled="false" OnClick="@DeleteSelectedItemClicked" Title="This is Delete.">Delete</GridCommandButton>

 

Thanks,

Vishnu Vardhanan

Vishnu
Top achievements
Rank 1
Iron
Veteran
commented on 05 Oct 2021, 04:11 PM

Please help on this ASAP
Vishnu
Top achievements
Rank 1
Iron
Veteran
commented on 06 Oct 2021, 01:14 PM

Please help on this

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 08 Oct 2021, 09:53 AM

Hi Vishnu,

Disabled HTML elements do not fire mouse events, so the Tooltip can't find out when the user hovers a disabled button. So the observed behavior is expected.

Theoretically, you can wrap the disabled button in some other element and use the Tooltip for this other element. However, there must be some space between the wrapper boundaries and the button, otherwise the tooltip will not show again.

Regards,
Dimo
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions Grid
Asked by
Vishnu
Top achievements
Rank 1
Iron
Veteran
Answers by
Dimo
Telerik team
Share this question
or