This question is locked. New answers and comments are not allowed.
Hi,
I'm using the latest version of RadControl and I need to set tooltip for GridViewColumn in a way the column bind to a feild and the tooltip bind to another feild .
by using silverlight datagrid ,here was how I implemeted it:
Actually I have realized when both GridViewColumn and textBlock bind to one field ,it working . but I need to bind them to different fileds.
I appreciate your help,
Thank you
I'm using the latest version of RadControl and I need to set tooltip for GridViewColumn in a way the column bind to a feild and the tooltip bind to another feild .
by using silverlight datagrid ,here was how I implemeted it:
<
data:DataGridTemplateColumn
Header
=
"Filter"
>
<
data:DataGridTemplateColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Description}"
ToolTipService.ToolTip
=
"{Binding FilterHint}"
Width
=
"100"
Margin
=
"0,5"
/>
</
DataTemplate
>
</
data:DataGridTemplateColumn.CellTemplate
>
</
data:DataGridTemplateColumn
>
In telerik ,I have tried this and it didn't work
<
GridView:GridViewDataColumn
Header
=
"Filter"
Width
=
"230"
DataMemberBinding
=
"{Binding Description}"
IsReadOnly
=
"True"
>
<
GridView:GridViewDataColumn.ToolTipTemplate
>
<
DataTemplate
>
<
StackPanel
>
<
TextBlock
Text
=
"{Binding FilterHint}"
Width
=
"100"
Margin
=
"0,5"
/>
</
StackPanel
>
</
DataTemplate
>
</
GridView:GridViewDataColumn.ToolTipTemplate
>
</
GridView:GridViewDataColumn
>
Actually I have realized when both GridViewColumn and textBlock bind to one field ,it working . but I need to bind them to different fileds.
I appreciate your help,
Thank you