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

ComboDropDown with tooltip

Is there any property to have tolltip for each item of the combodropdown .How to implement this functionality.

Thanks.



4 Replies

FS Fathima Shalini P Syncfusion Team January 12, 2008 08:47 AM UTC

Hi Sunitha,

Thanks for your interest in Syncfusion product.

To display the tooltip for a control in ComboDropDown controls's dropdown you have to give focus to the popupcontrolcontainer. You can handle Popup event of the popupcontrolcontainer. Please refer to the following code snippet


private void popupControlContainer1_Popup(object sender, System.EventArgs e)
{
this.popupControlContainer1.Focus();
}


Please have a look at this sample that demonstrates this:

http://websamples.syncfusion.com/samples/Tools.Windows/71005/main.htm

Please let me know if any concerns.

Regards,
Fathima




SU sunitha January 14, 2008 03:29 AM UTC

Hi fathima,
Thanks for your reply but my conern is for eaxmple i have a combo box loaded with values from database and for these items i have to display tooltips there are no other controls in my combobox it's just a normal combo box control.

Thanks





FS Fathima Shalini P Syncfusion Team January 24, 2008 01:38 PM UTC

Hi Sunitha,

We regret for delay in getting back to you.

We are working on this issue and we will update you with in one business day.

Thank you for your patience.

Regards,
Fathima



FS Fathima Shalini P Syncfusion Team January 25, 2008 08:20 AM UTC

Hi Sunitha,

Thank you for your patience.

If your intention is to display tool tips dynamically depending upon the value selected in the ComboBox, the following code illustrates this:


void comboBoxAdv1_MouseMove(object sender, MouseEventArgs e)
{
this.toolTip1.SetToolTip(this.comboBoxAdv1, this.comboBoxAdv1.SelectedItem.ToString());

}


If I have misunderstood your requirement, could you please explain this in detail, so that I could provide you a solution.

Please let me know if any concerns.

Regards,
Fathima




Loader.
Live Chat Icon For mobile
Up arrow icon