We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Japanese language issue with GridListControl

Thread ID:





59653 Apr 19,2007 10:14 AM UTC Apr 23,2007 02:47 AM UTC WinForms 2
Tags: GridControl
Cuong Luc
Asked On April 19, 2007 10:14 AM UTC


I'm using GridListControl to display Japanese language text. The text displays correctly with the items inside the grid but not with the header text (the header text turned to rectangle characters).

I've been searching for some properties of this control or a solution for this issue. Please help me with this.

Thanks and best regards,

Cuong Luc.


haneefm [Syncfusion]
Replied On April 19, 2007 03:37 PM UTC

Hi Cuong,

You can handle the QueryCellInfo event of the grid and set e.Style.CultureInfo property to hold rules for parsing and formatting the cell''s value in a cell. Here is a code snippet.

gridListControl1.Grid.QueryCellInfo +=new GridQueryCellInfoEventHandler(Grid_QueryCellInfo);

private void Grid_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
e.Style.CultureInfo = new System.Globalization.CultureInfo("ar-SA");

Here is a forum thread that discuss with the simillar issue.

Best regards,

Cuong Luc
Replied On April 23, 2007 02:47 AM UTC

Thank you for your reply, Haneef.

I've tried with your code but it didn't work. After that, I tried not to set the CultureInfo, but set the font like this (also in the event handler method):
e.Style.Font = new GridFontInfo(new System.Drawing.Font(FontManager.FontName, 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(0))));

And it worked :)


Cuong Luc.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon