i have a radnumeric text box in my app and it's crashing - getting alot of issues with datatype it seems
<telerik:RadNumericTextBox ID=theAmount1"
dbValue='<%# Bind(theAmount") %>'
MinValue="1"
NumberFormat-DecimalDigits="2"
DataType="System.Decimal"
Type="Currency"
runat="server">
</telerik:RadNumericTextBox>
here's the error
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Type' from its string representation 'System.Decimal' for the 'DataType' property.
Source Error:
Line 206: <telerik:RadNumericTextBox ID="theAmount1"
Line 207: dbValue='<%# Bind(theAmount") %>'
Line 208: MinValue="1"
here's another one
<telerik:RadNumericTextBox ID="theYears1" DbValue='<%# Bind("theYears") %>'
Width="60px" runat="server"
DataType="System.Int16"
MinValue="0" NumberFormat-DecimalDigits="0">
</telerik:RadNumericTextBox>
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Type' from its string representation 'System.Int16' for the 'DataType' property.
Source Error:
Line 154: <telerik:RadNumericTextBox ID="theYears1" DbValue='<%# Bind("theYears") %>'
Line 155: Width="60px" runat="server"
Line 156: DataType="System.Int16"
and another one
<telerik:RadNumericTextBox ID="theDebt1"
Type="Currency"
DataType="System.Decimal"
dbValue='<%# Bind("theDebt") %>'
NumberFormat-DecimalDigits="2" EnabledStyle-HorizontalAlign="Right"
Width="90px"
runat="server">
</telerik:RadNumericTextBox>
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Type' from its string representation 'System.Decimal' for the 'DataType' property.
Source Error:
Line 375: <telerik:RadNumericTextBox ID="theDebt1"
Line 376: Type="Currency"
Line 377: DataType="System.Decimal"
How do I fix this - any ideas?
<telerik:RadNumericTextBox ID=theAmount1"
dbValue='<%# Bind(theAmount") %>'
MinValue="1"
NumberFormat-DecimalDigits="2"
DataType="System.Decimal"
Type="Currency"
runat="server">
</telerik:RadNumericTextBox>
here's the error
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Type' from its string representation 'System.Decimal' for the 'DataType' property.
Source Error:
Line 206: <telerik:RadNumericTextBox ID="theAmount1"
Line 207: dbValue='<%# Bind(theAmount") %>'
Line 208: MinValue="1"
here's another one
<telerik:RadNumericTextBox ID="theYears1" DbValue='<%# Bind("theYears") %>'
Width="60px" runat="server"
DataType="System.Int16"
MinValue="0" NumberFormat-DecimalDigits="0">
</telerik:RadNumericTextBox>
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Type' from its string representation 'System.Int16' for the 'DataType' property.
Source Error:
Line 154: <telerik:RadNumericTextBox ID="theYears1" DbValue='<%# Bind("theYears") %>'
Line 155: Width="60px" runat="server"
Line 156: DataType="System.Int16"
<telerik:RadNumericTextBox ID="theDebt1"
Type="Currency"
DataType="System.Decimal"
dbValue='<%# Bind("theDebt") %>'
NumberFormat-DecimalDigits="2" EnabledStyle-HorizontalAlign="Right"
Width="90px"
runat="server">
</telerik:RadNumericTextBox>
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Type' from its string representation 'System.Decimal' for the 'DataType' property.
Source Error:
Line 375: <telerik:RadNumericTextBox ID="theDebt1"
Line 376: Type="Currency"
Line 377: DataType="System.Decimal"