I am trying to add a value to listbox. i use lstlistbox.items.add(new listitem(value)).
this adds it fine in click event of button, but i need to use the selectedvalue of the listbox again in same event.
as the listbox item doesnt show i cant use selectedvalue. is there a way to first populate the listbox with its selected value then somehow use the value.