Hi Allow,
I am using an entity datasource on a grid and allowing auto inserts, updates and deletes. Everything seems to be working fine accept while trying to delete i am getting the following:
Exception Details: System.Web.UI.WebControls.EntityDataSourceValidationException: Error while setting property 'freightRate': '$222.00 is not a valid value for Decimal.'.
Source Error:
Stack Trace:
I have no code behind (nice) and the column markup looks like:
Is it because the NumericType? Should i use a Dataformatstring instead? thanks.
rw
I am using an entity datasource on a grid and allowing auto inserts, updates and deletes. Everything seems to be working fine accept while trying to delete i am getting the following:
Error while setting property 'freightRate': '$222.00 is not a valid value for Decimal.'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.UI.WebControls.EntityDataSourceValidationException: Error while setting property 'freightRate': '$222.00 is not a valid value for Decimal.'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
I have no code behind (nice) and the column markup looks like:
<
telerik:GridNumericColumn UniqueName="freightRate" SortExpression="freightRate"
HeaderText="Freight Rate" DataField="freightRate" ColumnEditorID="GridNumericColumnEditor1"
FooterText="Freight Rate" NumericType="Currency" DataType="System.Decimal">
</telerik:GridNumericColumn>
Is it because the NumericType? Should i use a Dataformatstring instead? thanks.
rw