This is a migrated thread and some comments may be shown as answers.

DataTrigger in a SelectionBoxTemplate?

4 Answers 62 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 20 Dec 2019, 04:53 PM
I was able to bind a model's text and tooltip to the SelectionBoxTemplate. However, sometimes the tooltip is empty and sometimes it is populated.
However, without a datatrigger in place, even on the empty tooltips, I see an empty tooltip window popup which is a bit of annoyance. Any possible way to fix this?

4 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 25 Dec 2019, 08:07 AM

Hello John,

Thank you for contacting us.

To avoid any misunderstanding, may I ask you to share how you have added the tooltip to the SelectionBoxTemplate. On which element the tooltip is shown? Is it possible to isolate this behavior in a standalone project so I can debug it on my side and provide you a suitable solution depending on your implementation?

I am looking forward to your reply.

Merry Christmas and Happy Holidays!

Regards,
Dinko
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
John
Top achievements
Rank 1
answered on 30 Dec 2019, 01:26 PM

I did it very similar to this, except I set the tooltip

https://docs.telerik.com/devtools/wpf/controls/radcombobox/features/populating-with-data-selectionbox

0
Accepted
Martin Ivanov
Telerik team
answered on 02 Jan 2020, 10:14 AM

Hello John

Thank you for the additional information. 

To achieve your requirement you can use a trigger as you already suggested. I've attached a small example showing this approach. I hope it helps.

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
John
Top achievements
Rank 1
answered on 02 Jan 2020, 01:35 PM
Thank you, that Worked !
Tags
ComboBox
Asked by
John
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
John
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or