Sep 03, 2010, 12:01 PM
[CLOSED] [1.0] Get values of Component rendered by XRender
Hi
I create some componentes (TextFields, and ComboBoxes) in a DirectEvent. Then I want to get the values edited by the user of theese components. How do i do that. (I do not recreate the components in the second directevent, is that needed). I manage to get the values of the TextField by this code
Works
Thanks
Mikae
I create some componentes (TextFields, and ComboBoxes) in a DirectEvent. Then I want to get the values edited by the user of theese components. How do i do that. (I do not recreate the components in the second directevent, is that needed). I manage to get the values of the TextField by this code
Works
string text = X.GetCmp<TextField>("TextField1").Text;
Does not workstring text = X.GetCmp<ComboBox>("ComboBox1").SelectedItem.Value;
But this code does not word for the combobox. Any Idea?Thanks
Mikae
Last edited by geoffrey.mcgill; Sep 13, 2010 at 8:52 PM.
Reason: [CLOSED]