Display TelerikTooltip without Hover or Click

1 Answer 23 Views
Form Tooltip ValidationMessage
Rob
Top achievements
Rank 1
Iron
Rob asked on 26 May 2022, 04:16 PM

Hi,

I would like to use a TelerikTooltip as validation message container, so that the user can click to close the tooltip after reading the message.

Can the TelerikTooltip be made to display immediately and then respond to clicks as normal afterwards?

 

1 Answer, 1 is accepted

Sort by
0
Rob
Top achievements
Rank 1
Iron
answered on 30 May 2022, 08:29 AM

I figured it out and managed to trigger the tooltip to pop-up using JSInterop call at the approprate time in my C# code.

function trigger(elementId, delay){
window.setTimeout(function(){ document.getElementById(elementId).click(); }, delay)
}

It's not elegant but it works for now.
Dimo
Telerik team
commented on 31 May 2022, 06:08 AM

Tags
Form Tooltip ValidationMessage
Asked by
Rob
Top achievements
Rank 1
Iron
Answers by
Rob
Top achievements
Rank 1
Iron
Share this question
or