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

ToolTip on Click

Hello,

I would like to have a SuperToolTip open whenever a certain
control is clicked, i've got it to show but at wrong position.
Can you help me with figuring how to open the tooltip so that
tooptips bottom-right corner would be adjecent to clicked control's upper-left corner ?

10x.

3 Replies

RB Rajasekar B Syncfusion Team January 28, 2010 12:12 PM UTC

Hi,

In the click event of the control, you can add this code. Here, tootip will be displayed at the mouse position. Only location has to be changed based on your requirement.

ToolTipInfo toolTipInfo = new ToolTipInfo();
toolTipInfo.Body.Text="Button";
this.superToolTip1.Show(toolTipInfo, MousePosition, 2000);

I have attached the sample. Refer to it.

Thanks,
Rajasekar



SupertooltipSample_695816c1.zip


RG Ruslan Gasanbekov February 7, 2010 12:01 PM UTC

10x for your help.


RB Rajasekar B Syncfusion Team February 8, 2010 01:27 PM UTC

Hi,

Thanks for the update.

Thanks,
Rajasekar

Loader.
Live Chat Icon For mobile
Up arrow icon