Tooltip on GridViewDataColumn.Header?

2 posts, 0 answers
  1. Scott
    Scott avatar
    42 posts
    Member since:
    Feb 2009

    Posted 22 Apr 2014 Link to this post

    Hi All,

    I'm trying to add a tooltip to my GridViewDataColumn's Header, but the tooltip never appears and I get no binding error. Can you tell me if this is the proper approach?


    Code below:

                    <telerik:GridViewDataColumn DataMemberBinding="{Binding SnmPerformance}" UniqueName="SnmPerformance"
                                                DataFormatString="n1" TextAlignment="Right" HeaderTextAlignment="Right"
                                                Width="80" IsFilterable="False" IsSortable="True" >

                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="Auto"/>
                                <TextBlock Grid.Column="0" Text="SNM Performance" TextWrapping="Wrap"  ToolTipService.ToolTip="{Binding DataLastUpdatedText, Mode=OneWay}"  />
                                <telerik:RadButton Grid.Column="1" Click="btnSnmPerformanceColumnExpandClickHandler" Style="{StaticResource ColumnHeaderExpanderButtonStyle}" />

  2. Yoan
    Yoan avatar
    1051 posts

    Posted 23 Apr 2014 Link to this post

    Hello Scott,

    Indeed, this is the correct approach. You can check the Add ToolTip for columns and headers help article for a reference. Please ensure that there are no BindingExpression errors in your application.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft R3 2016 release webinar banner
Back to Top