The ComboboxBarItem in the XpToolBar does not catch the keyboard events.
As a result, the enter can''t be used to validate the entry and i can''t monitor what has been typed (like resttrict to numbers...)
Is there something i missed
ADAdministrator Syncfusion Team February 1, 2005 07:40 AM
Unfortunately, the TextBox in a ComboBoxBarItem cannot be exposed. This means that you don''t have access to the KeyPress event, so you won''t be able to respond to your user entering a value. You''ll have to parse the entry later.
However, you can validate the entry on Enter. If the Enter key is pressed (and the value of the ComboBoxBarItem was changed) the ComboBoxBarItem will fire a Click event.
Hope this helps.
SISilverFebruary 1, 2005 07:43 AM
And what about using a real combo in the XPToolbar. Is it possible to do manually ?
ADAdministrator Syncfusion Team February 1, 2005 08:07 AM
XPToolbars are limited to BarItems only. However, a CommandBar can host a single control, which could be a ComboBox (or a Panel that contains one or more ComboBoxes).
If you''re using a BarManager in your application, please take a look at this forum post. It includes a sample that might help you and some information about a known issue to watch out for.