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

Still broken..

4 Answers 55 Views
Input
This is a migrated thread and some comments may be shown as answers.
Ray
Top achievements
Rank 1
Ray asked on 09 Jun 2010, 05:10 AM

If Telerik cannot fix the underlying bug, perhaps one could chaneg the designer to prevent  the dta entry which producs the bug..

When ever a RadNumericTextBox  has a type of Decimal, it thows the  wobbly below..
This ahs been reported amny monns ago, and is still broken..
The default of nothign or system.double works fine..


<telerik:RadNumericTextBox  id="UnitPriceCurrent"
runat="server"  Type="Currency"  width="100px" DataType="System.Decimal"  >
Line 71:                             <NumberFormat AllowRounding="False"
DecimalDigits="4" KeepNotRoundedValue="True" />
Line 72:                         </telerik:RadNumericTextBox>

Parser Error Message: Cannot create an object of type 'System.Type' from its
string representation 'System.Decimal' for the 'DataType' property.

4 Answers, 1 is accepted

Sort by
0
O'Man
Top achievements
Rank 1
answered on 09 Jun 2010, 07:12 AM
Hi,

The only broken thing i see is your spell check man :)

Now seriously - i had a similar issue some time ago and after some research i found that it was caused by different versions of the design dll and the ui dll files. So try use the same version of both dll files and see if it works.

If this does not help, just change the controls :)

Thanks,
Oman
0
Ray
Top achievements
Rank 1
answered on 11 Jun 2010, 08:32 AM
Thanks..
But it is not caused by the dll versions, the code is broken... it has been happening for over a year..

The point is.. if telerik cannot fix it to change the designer to complain, so the problem is caught at design time, rather than thowing a runtime error..


0
O'Man
Top achievements
Rank 1
answered on 11 Jun 2010, 04:31 PM
What about this one then...

http://www.telerik.com/community/forums/aspnet-ajax/input/295172.aspx

Thanks
Oman
0
Ray
Top achievements
Rank 1
answered on 12 Jun 2010, 04:52 AM
The link,  simply demonstartes that different versions of an assemble can cause the issue, not that this is the ONLY cause of the issue..


ay..
Tags
Input
Asked by
Ray
Top achievements
Rank 1
Answers by
O'Man
Top achievements
Rank 1
Ray
Top achievements
Rank 1
Share this question
or