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

public Form1()

    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
Ivan Petrov
Posted on: 20 Nov 2015 16:13
The issue is caused by the GDI+ drawing API. More info can be found here:
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.