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

Prevent Auto selection or highlighting of GridNumericColumn value when moving between pages.

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Siva
Top achievements
Rank 1
Siva asked on 20 May 2015, 11:20 AM

Hi,

The user enters some data in Grid Numeric Column and checks some other open tab in browser and when user returns to that page, the Grid Numeric column value gets auto selected & it leads to data loss of autoselected value.. Please help me in preventing the auto selection. Thanks in advance.

Code: 

<telerik:GridNumericColumn DataField="Price" UniqueName="Price" MaxLength="15" DataFormatString="{0:#,##0.#0}"
                                DataType="System.Double" HeaderText="Price*" ItemStyle-Width="60px" HeaderStyle-Font-Bold="true">
                            </telerik:GridNumericColumn>

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 25 May 2015, 07:53 AM
Hello Siva,

Have in mind that the GridNumericColumn is using RadNumericTextBox as editor. The maximal supported value for the input is 2^46. However, the MaxLength property in the code you have provided is set to 15 and that is outside the supported values.

In order to make sure that the RadNumericTextBox editor is working correctly you can use the MaxValue and MinValue properties. You should ensure that the set values are between +/- 2^46. Alternatively you could set MaxLength property to 13 or lower.


Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Siva
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or