Tooltip Column

2 posts, 1 answers
  1. Mark
    Mark avatar
    14 posts
    Member since:
    Sep 2012

    Posted 21 Feb 2013 Link to this post

    Hi,
    i am using a readonly GridView with a column like this:
    <telerik:GridViewDataColumn Header="Range"
                        Width="*"
                        DataMemberBinding="{Binding Range}"
                        HeaderTextAlignment="Center"
                        TextAlignment="Center"
                        ToolTip="Test">

    The problem is that the tooltip does not be displayed on column cells or on the column header.

    Where did i make the mistake?

    Thanks for help
    Mark
  2. Answer
    Steve
    Steve avatar
    20 posts
    Member since:
    Jan 2011

    Posted 21 Feb 2013 Link to this post

    The version below should work:

    <telerik:GridViewDataColumn Width="*" DataMemberBinding="{Binding Range}"  TextAlignment="Center">
       <telerik:GridViewDataColumn.Header>
               <TextBlock Text="Range" ToolTip="HeaderToolTip" />
       </telerik:GridViewDataColumn.Header>
       <telerik:GridViewDataColumn.CellTemplate>
               <TextBlock Text="{Binding Range}" ToolTip="CellToolTip" />
       </telerik:GridViewDataColumn.CellTemplate>
    </telerik:GridViewDataColumn>

Back to Top