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

Logout when filtering $amount in Telerik Radgrid

3 Answers 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sandesh
Top achievements
Rank 1
Sandesh asked on 26 Sep 2011, 03:50 PM
One of the Radgrid column is Amount. We apply the Dataformatstring to that column such that it will display +ve values as $1500.00 and -ve values as (-$1500.00).
 
But when filtering i entered $1500.00, it is logged out.
 
Also when i enter 1500.00, it will filter the values.
 
The database column contains 1500.00.

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 26 Sep 2011, 04:09 PM
Hi Sandesh,

This is expected behavior . For numeric columns filtering will work only with numeric values.
"$1234.56" would be treated as a string by the .NET framework  and not as a number.

Best wishes,
Pavel Pavlov
the Telerik team

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

0
Sandesh
Top achievements
Rank 1
answered on 26 Sep 2011, 04:34 PM
But even if i change GridBoundColumn datattype="System.String" it throws logout error.
0
Sandesh
Top achievements
Rank 1
answered on 26 Sep 2011, 04:35 PM
But even if i change GridBoundColumn datattype="System.String" it throws logout error
Tags
GridView
Asked by
Sandesh
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Sandesh
Top achievements
Rank 1
Share this question
or