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

Problem with Double data type column in radgrid view

3 Answers 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
sreelakshmi T
Top achievements
Rank 1
sreelakshmi T asked on 06 Jan 2012, 06:36 AM
Hi All,
I Have a RadGridView in that i have a column with Double datatype.If i give a value tas 1,2 for this column it taking it as 12.
I am validaing the values in cell validating event.

Any idea why it is behaving like this ? For integer field it working properly.

THanks in advance

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 06 Jan 2012, 08:39 AM
Hello,

 You should check what are the current language settings in your environment. 

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
sreelakshmi T
Top achievements
Rank 1
answered on 06 Jan 2012, 11:29 AM
Hi,

what should be the the current language settings ?

thanks in advance
0
Dimitrina
Telerik team
answered on 06 Jan 2012, 02:58 PM
Hi,

Depending on what the current culture is, different decimal separator is expected. 

For example if the current culture is "en-US", then the decimal separator is ".", not ",". The "," is a currency group separator.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
sreelakshmi T
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
sreelakshmi T
Top achievements
Rank 1
Share this question
or