We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Attaching a ToolTip to a DatePicker control?

I'm searching for an example of how to attach the ToolTip control to another control. i.e. DatePicker or Dropdown



1 Reply

VK Vinoth Kumar Sundara Moorthy Syncfusion Team July 31, 2019 11:16 AM UTC

Hi John, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your requirement ‘To show Tooltip on other control e.g. DatePicker’ and it can be achieved using ContentTemplate property in Tooltip (e.g. for DataPicker) as like below code example, 
 
Code Example 
@Html.EJS().Tooltip("Tooltip").Content("Date Picker").ContentTemplate(@<div>@Html.EJS().DatePicker("datepicker").Render()</div>).Render() 
 
Please refer the below documentation for rendering tooltip to other controls, 
 
For your convenience we have prepared the sample for your requirement and same can be downloaded from below link, 
 
Could you please check the above sample and get back to us if you need any further assistance on this? 
 
Regards, 
Vinoth Kumar S 


Loader.
Live Chat Icon For mobile
Up arrow icon