Declined
Last Updated: 02 Dec 2015 13:30 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 14 Oct 2015 13:24
Category: GridView
Type: Bug Report
0
FIX. RadGridView - does not render soft hyphen ('\u00AD') in its cells even thought the cell's text is correct
To reproduce:

public Form1()
{
    InitializeComponent();

    this.radGridView1.Columns.Add("Col1");
    this.radGridView1.Rows.Add("word \u00AD word");
    this.radGridView1.Rows.Add("word - word");
}

Workaround: replace "\u00AD" with "-"

private void radGridView1_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
    e.CellElement.Text = e.CellElement.Text.Replace("\u00AD", "-");
}
Attached Files:
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
ADMIN
Ivan Petrov
Posted on: 20 Nov 2015 16:13
The issue is caused by the GDI+ drawing API. More info can be found here:https://support.microsoft.com/en-us/kb/956807
To avoid the issue, you can do several things:
1. Apply the hotfix from Microsoft
2. Replace the soft hyphen (U+00AD) with a minus hyphen (U+002D). 
3. Force RadGridView to use GDI for painting by setting the UseCompatibleTextRendering property to false.