So I'm using Silverlight 4 and I've got the following GridViewColumn:
CreditIssuesText is being pulled from our SQL Server where a function concatenates all of the possible credit issues and joins them together with line breaks to be used in a tooltip when hovering over the icon.
I've already tried everything in http://stackoverflow.com/q/183406/682480 to no avail.
How in the world do I get a line break or newline to work in a bound string that's being pulled from SQL?
<
telerik:GridViewColumn
UniqueName
=
"CreditIssuesText"
CellStyle
=
"{StaticResource rgvCellStyle}"
HeaderCellStyle
=
"{StaticResource rgvHeaderCellStyle}"
HeaderTextAlignment
=
"Center"
TextAlignment
=
"Center"
Width
=
"Auto"
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
Image
Source
=
"/HubSilverlight;component/Images/status_icon_info.png"
ToolTipService.ToolTip
=
"{Binding CreditIssuesText}"
Visibility
=
"{Binding CreditIssuesText, Converter={StaticResource TextToVisibilityConverter}}"
Width
=
"16"
Height
=
"16"
/>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
CreditIssuesText is being pulled from our SQL Server where a function concatenates all of the possible credit issues and joins them together with line breaks to be used in a tooltip when hovering over the icon.
I've already tried everything in http://stackoverflow.com/q/183406/682480 to no avail.
- �a;
- �d;
- �a;�d;
-
-
-
- <br />
- <LineBreak />
- \n
- \r\n
How in the world do I get a line break or newline to work in a bound string that's being pulled from SQL?