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
1155
Setting dataset to combo editor does not have any effect
posted

Hi,

I am using an ultra combo editor and I set a dataset as the datasource and a specific member as the member to my control by using the designer. I fill my dataset in constructor, but my control does not list the items.

When I set the dataset manually to the control by code its working fine. But if I only define it in the designer notthing happens. Any ideas to solve this?

Thanks, Alex

 

Parents
  • 469350
    Offline posted

    What is CustomerTitle? Is that the name of a Table or a RelationShip in your DataSet? It looks like the name of a field in table, and if so, that's why it's not working. DataMember needs to indicate which table or relationship in the DataSet that you want to use from the dropdown list in the combo.

    I can't see any reason why this would work any differently at run-time or design-time, though. My only guess there is that something in your code is changing these properties when the run the application, but before you set them at run-time.

Reply Children