This content has been marked as final. Show 4 replies
state.labelField = "@name";
Since you are using the attribute value of your XML node, you need to use the '@' operator.
Also, it doesn't look like you need to assign a value to the state.data property, but it would be the same: state.data = "@id".
Thanks for the suggestion. I'll try it out and let you know how it goes. However, I was worried about the attributes so I tried it using regular elements as well, but to no avail. Anyway, I'll get back to you once I have a chance to try out your suggestion. Thanks again! -- BTR
This didn't seem to solve my problem... I'm still not getting data in the ComboBox. Any other suggestions?
Thanks in advance! -- BTR
stateData = (event.result as XML).state;