Hi Team,
I am trying to create WebNumericEdit dynamically and set property too .But the problem is, if I set DecimalValue = 6.810 then the control converted it self as 6.810000000005 . It's happen only for particular value not for others .
Version using :2008 (2.0)
Code Example.
Case DataType.IsDecimal
control = New WebNumericEdit
With DirectCast(control, WebNumericEdit)
.ID = "wne"
.MaxLength = field.MaxLength
.ReadOnly = field.EnforceList
If field.Mask.Length > 0 Then
.MinDecimalPlaces = CType(field.Mask, MinDecimalPlaces)
End If
.ValueDecimal = Decimal.Parse(field.Value, CultureInfo.InvariantCulture)
End With