[Mono-bugs] [Bug 324286] DataBinding: Invalid default value in bound combobox

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 7 14:59:19 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=324286

User calberto.cortez at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=324286#c1


Carlos Alberto Cortez <calberto.cortez at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |calberto.cortez at gmail.com
         AssignedTo|mono-bugs at ximian.com                            |avidigal at novell.com




--- Comment #1 from Carlos Alberto Cortez <calberto.cortez at gmail.com>  2008-01-07 12:59:18 MST ---
Tracked down the issue (more or less)

When a control property is bound to a data source property, and the value of
this data source property is null, it should *not* assign null to the control
property, but -apparently- a System.DBNull instance.

Below is a small sample (in Mono it prints '<null>', and in .net the value
information, thus a non-null value).

Assigning to shana.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list