Hoppa till huvudinnehållet

Access the Data Item Value Property from a users selection of the Display Property in a combo box

Kommentarer

3 kommentarer

  • Nico Burgerhart
    No, the ComboBox returens the value, not the description.

     

    How is your dataitemlist filled?

     

     
    0
  • Zack Robison
    So you have different display and a value properties for your dataitems, but are only retrieving the display properties?  That is not correct behavior, the output should be returning the value property to the output (a string or object, I can't remember).  I'd check my list of data items and ensure that the values are as expected.  
    0
  • Permanently deleted user
    Thankyou Nico and Zack, I now understand how this all works, I didnt realise that the dataitems Description is what is displayed in the combobox but it is the Value that is returned. 
    0

Du måste logga in om du vill lämna en kommentar.