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

integer filter enter text cause error

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sf
Top achievements
Rank 1
sf asked on 07 Feb 2011, 04:46 AM

my column is like this:

<telerik:GridBoundColumn DataField="TheIntegerColumn" HeaderText="Integer Value" FilterControlWidth="20px" DataType="System.Int32" HeaderStyle-Width="20px" 
                            SortExpression="TheIntegerColumn" UniqueName="TheIntegerColumn" ItemStyle-HorizontalAlign="Right">
</telerik:GridBoundColumn>

when I enter a random text instead of an integer into the filter, and select any option in the filter options dropdown, i get error
is this normal? or am I missing any settings in the grid?

thanks in advance

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 07 Feb 2011, 06:20 AM
Hello,

Try setting EnableLinqExpressioins property of grid as false and check whether this eliminates this exception.

Thanks,
Princy.
Tags
Grid
Asked by
sf
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or