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

Customized tooltip

5 Answers 27 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Marita
Top achievements
Rank 1
Marita asked on 20 Dec 2013, 06:56 AM
 I have tried to attach a customized tooltip to EventContainer, but I cant get it to work.
Do you have an example on how to do this?

5 Answers, 1 is accepted

Sort by
0
Ventzi
Telerik team
answered on 21 Dec 2013, 09:27 AM
Hello Marita,

Basically the tooltip of the EventContainer could be easily customized by modifying the ToolTipTemplate property of the EventContainerStyle using implicit styles. I've prepared and attached a sample project which demonstrates this approach.

Hope this helps.

Regards,
Ventzi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Marita
Top achievements
Rank 1
answered on 02 Jan 2014, 07:58 AM
Do you have a sample for silverlight aswell?
0
Ventzi
Telerik team
answered on 02 Jan 2014, 08:52 AM
Hello Marita,

This approach works for Silverlight as well. You could copy the code direct into your Silverlight solution. For your convenience I've prepared and attached the Silverlight version of the example.

Regards,
Ventzi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Marita
Top achievements
Rank 1
answered on 02 Jan 2014, 09:29 AM
First of all thank you for the examples.

Ehwn trying to run it I get some errors that i cant find a solution to:

Error 14 The member "ToolTipTemplate" is not recognized or is not accessible.
in both Telerik.Windows.Controls.GanttView.xaml and MainPage.xaml

Error 2 The name "UpperCaseStringConverter" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GanttView".
in Telerik.Windows.Controls.GanttView.xaml

Hope you can explain to me what I am doing wrong.
0
Ventzi
Telerik team
answered on 03 Jan 2014, 09:44 AM
Hi Marita,

You could try several things in order to run the sample project. First of all please make sure you've added and you are using the Q3 2013 binaries for Silverlight or newer. Also please clean and rebuild the solution. Run the project.

Regards,
Ventzi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GanttView
Asked by
Marita
Top achievements
Rank 1
Answers by
Ventzi
Telerik team
Marita
Top achievements
Rank 1
Share this question
or