[ http://jira.nhibernate.org/browse/NH-692?page=all ]
Sergey Koshcheyev updated NH-692:
---------------------------------
Comment: was deleted
> Problem when display a Collection in a Combobox (C#)
> ----------------------------------------------------
>
> Key: NH-692
> URL: http://jira.nhibernate.org/browse/NH-692
> Project: NHibernate
> Type: Bug
> Components: Core
> Versions: 1.2.0.Beta1, 1.2.0.Alpha1
> Reporter: Franz Meier
> Attachments: bugreport.zip
>
> The Problem occurs when I retrieve data from a table and put the List as the Datasource of a combobox
> eg:
> coDomain.DataSource = session.CreateQuery("from TDomain").List();
> //then i set display member:
> coDomain.DisplayMember = "DomainName";
> After that only the first value is displayed correctly in the combobox,
> all other values are display as the Class Name (it seems that the TOString() Function is called). see atteched bug.jpg
> The Interesting thing is, this problems existist since 1.2.0Alpha1 and also on the current cvs snapshot.
> the old 1.0.2 is working perfectly.
> The Domain Class has an included bag, if i remove the bag the whole thing is also working.
> Strange!
> It think this is an proxy issue!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nhibernate.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|