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.
Unfortunately, activation email could not send to your email. Please try again.

How to change localization of gridcontrol at runtime?

Thread ID:

Created:

Updated:

Platform:

Replies:

77460 Nov 1,2008 07:47 AM Nov 3,2008 11:08 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 1, 2008 07:47 AM

I have a gridcontrol in my project and it has currency cells, I want to change localization of gridcontrol in order to change formatting of these currency cells.
Is it possible?


Nisha Arockiya A [Syncfusion]
Replied On November 3, 2008 11:08 PM

Hi Lunatik,

Thanks for your interest in Syncfusion Products.

The SerializeCellsBehavior property of GridControl is used to localize the cell data into resource files, by setting SerializeIntoResX to this property.The grid uses the cell specific CultureInfo to do formatting for cell values like integers or doubles present in the cell values. But, you can apply localization to the whole grid and store in the different ResX file which are generated for each property of the Form.

Please refer the sample which shows the idea:
Here is a sample

Please let me know if this helps.

Regards,
Nisha


CONFIRMATION

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.

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.

;