We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ComboboxBarItem & XpToolbar

Hello 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 Thanks Silver

3 Replies

AD Administrator Syncfusion Team February 1, 2005 12:40 PM UTC

Hi Silver, 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. Regards, Gregory Austin Syncfusion, Inc.


SI Silver February 1, 2005 12:43 PM UTC

Hi Gregory And what about using a real combo in the XPToolbar. Is it possible to do manually ? Thanks Silver


AD Administrator Syncfusion Team February 1, 2005 01:07 PM UTC

Hi Silver, 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. Regards, Gregory Austin Syncfusion, Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon