This is a migrated thread and some comments may be shown as answers.

[Solved] GridView localized content problem

1 Answer 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Miłosz Cechnicki
Top achievements
Rank 1
Miłosz Cechnicki asked on 28 Jan 2010, 12:01 PM
Hi,
We are filling grid with some data, that in some place are the localized values generated dynamically based on some object's properties and string resources. There is also a search textBox that allows user to enter any text to search a grid.

The problem is when the DataLoadMode is set to 'Asynchronous', the grid gets the default CurrentCulture and CurrentUICulture properties, so that the data it's filtering on are different from that shown in a grid (filtering is perfomed on english resources, while in grid are german strings).
It would be great, if the CurrentCulture settings are derived from the main app thread.

Best regards

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 01 Feb 2010, 12:33 PM
Hi MiƂosz,

The asynchronous mode of RadGridView is implemented with BackgroundWorker. Unfortunately it does not allow you to specify the culture of the thread that will be created for the async work.

You should set the DataLoadMode to "Synchronous" in order to avoid such kind of problems. We will look into ways how to remove this limitation in the future.

All the best,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Miłosz Cechnicki
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or