problem getting CommandBarcombo text onclick event

J

jbhan

Hi,

I have CommandBarComboBox and a CommandBarButton.
When I click The commandBarButton I want to get the text
in the Combo box and use it for my search.
The problem is that unless I press enter and then click
the command bar button, the text in the combo box reverts
to its previous value (if I press enter the the text
stays)

It looks like when the button is clicked (without
pressing the enter key) the change event of the combo box
is not getting triggered.

Anyone has suggestions on how I could retrieve the
current text of the combo on clicking the command bar
button?

Thanks,
Jbhan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top