[Mono-bugs] [Bug 78919][Nor] New - Data Binding isn't working fine with numerical values

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jul 21 03:42:59 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by unserkonig at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78919

--- shadow/78919	2006-07-21 03:42:58.000000000 -0400
+++ shadow/78919.tmp.7480	2006-07-21 03:42:58.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 78919
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: unserkonig at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Data Binding isn't working fine with numerical values
+
+When a control property is bound to a data sources's property of numerical
+type, the changes made to the UI should be analized to detect errors in the
+format, and preserve the last valid value.
+
+
+Steps to reproduce the problem:
+1. Compile the sample.
+2. In the first text box, write a non-numerical value.
+3. Change the focus to the second text box (just change the focus).
+
+Actual Results:
+Int32.Parse method throws a FormatException, when the data binding layer
+tries to convert the text in TextBox to the right value for a data source's
+property of Int32 type.
+
+Expected Results:
+Since the new value in the text box is not a valid numerical value, the
+last valid value should be kept.
+
+Additional information:
+Probably this error detection should be done for other types as well...


More information about the mono-bugs mailing list