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

Set tooltip in MonthItemTemplate

2 Answers 99 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Inge
Top achievements
Rank 1
Inge asked on 26 Aug 2013, 12:51 PM
Hi,

We are currently customizing The radscheduleview with a lot of custom styles and templates. One of the customer's requirements is to associate a remark with a date, We try to make this visible in the Radscheduleview by styling the TimeRulerItemTemplateSelector.MonthItemTemplate:

<DataTemplate>
<Grid>
<TextBlock HorizontalAlignment="Left" Text="{Binding FormattedValue}"/>
<Image Height="15" HorizontalAlignment="Right"  Margin="0,0,100,0" Source="pack://application:,,,/Images/speech_bubble.png">
<Image.ToolTip>
<TextBlock Text="Hi! I'm a tooltip"/>
</Image.ToolTip>
</Image>
</Grid>
</DataTemplate>


It's a very simplistic example, in our app we bind the text and visibility, but this has the same issue:
The Balloon displays nicely (image in attachment), but unfortunately the tooltip never pops up when you hover over the image. I guess this has something to do with the style, I'm guessing Zindexes but after experimenting a bit with the default styles I can't get the tooltip to show..

Any suggestions?

Thanks in advance!

EDIT: we use the Windows8 theme btw

2 Answers, 1 is accepted

Sort by
0
Accepted
Masha
Telerik team
answered on 29 Aug 2013, 09:13 AM
Hi Inge,

We were not able to reproduce the problem. I attached the sample test project I used to test the issue. Please feel free to modify it in order to show us how to reproduce the described behavior.

Regards,
Masha
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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
Inge
Top achievements
Rank 1
answered on 29 Aug 2013, 09:55 AM
Hi Masha,

Thanks for the reply.
In your example, you had all views defined. We only use monthview, so the button to go to the dayviewdefinition was disabled.
Because the controltemplate was disabled, my Icon was too, which was the reason for the tooltip not showing.
Setting ToolTipService.ShowOnDisabled="true" on my icon solved my problem, thanks for the help!


Tags
ScheduleView
Asked by
Inge
Top achievements
Rank 1
Answers by
Masha
Telerik team
Inge
Top achievements
Rank 1
Share this question
or