Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Ultracombo how to show property of an object that is inside another object
posted

hi, i have an object A that have inside another object B(not a list just an object), so when i put:

Dim objTypeA As New ObjectA
            ultraCombo.DataSource = objTypeA .getList() //this return a list where each element is an object A that have an object B inside it.
            ultraCombo.DisplayMember = "Description"
            ultraCombo.ValueMember = "Code"

but when i make click over the ultracombo it shows me the grid with the list of the object A but in the property of the object B it shows me the name of the assembly of the object B, how can i tell to the ultracombo that i want to show a specific property of the object B or it is posible to show all the properties of the object B??

thanks