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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

super tooltip - multi instances

Thread ID:

Created:

Updated:

Platform:

Replies:

85443 Jul 5,2009 05:17 AM UTC Jul 13,2009 04:30 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On July 5, 2009 05:17 AM UTC

hello,
i use the super tooltip in the syncfusion bar item.
i use it to explain the user why the bar item is sometime disabled.
there are 2 reasons for disabling the baritem.
i put the first reason, using the tooltip info class, SetTooltip method, everything is OK.
after that i put the 2nd reason, using another tooltip info instance, and now i see them BOTH , one on top of the other.
i tried 'hide' method, it doesnt work. there is no 'clear' method for the super tooltip.

what can i do ?
thanx,
Noa

Kathiresan M [Syncfusion]
Replied On July 13, 2009 04:30 PM UTC

Hi,

No need to create a new TooltipInfo to set the new value, instead get the already created ToolTipInfo of the respective control and modify it with the new content and reassign it it back to the control.

It's possible to do it as illustrated below,

public Form1()
{
InitializeComponent();
ToolTipInfo info = new ToolTipInfo();
info.Body.Text = "Initial Assignment";
this.superToolTip1.SetToolTip(this.button1, info);
}

private void button1_Click(object sender, EventArgs e)
{
ToolTipInfo info = this.superToolTip1.GetToolTip(this.button1);
info.Body.Text = "Modified in Button Click";
this.superToolTip1.SetToolTip(this.button1,info);
}

-Kathir

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;