Customized tooltip

6 posts, 0 answers
  1. Marita
    Marita avatar
    6 posts
    Member since:
    Dec 2013

    Posted 20 Dec 2013 Link to this post

     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?

  2. Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 21 Dec 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Marita
    Marita avatar
    6 posts
    Member since:
    Dec 2013

    Posted 02 Jan 2014 Link to this post

    Do you have a sample for silverlight aswell?
  5. Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 02 Jan 2014 Link to this post

    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 >>
  6. Marita
    Marita avatar
    6 posts
    Member since:
    Dec 2013

    Posted 02 Jan 2014 Link to this post

    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.
  7. Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 03 Jan 2014 Link to this post

    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 >>
Back to Top
DevCraft banner