5 Answers, 1 is accepted
The buttons inside the textbox cannot be focused because they are part of the textbox and are not separate controls. What I can suggest is adding shortcuts to them. For example:
Another approach would be to add button control to the textbox using host item: Use Control inside an Element.
I hope this helps. Should you have any other questions, do not hesitate to ask.
maybe I should put my Question in another way: How is default keyboard navigation within a ButtonTextBox supposed to work.
The RadButtonTextBox should act exactly like the standard text box and the tab key should move the focus to the next control on the form. The items inside the textbox cannot gain the focus because they are not controls, they are RadElements which are intended to be nested inside a single control. If you want to customize this behavior please use one of the approaches from my previous post.
Should you have further questions, I would be glad to help.
So in other words, the ButtonTextBox control does not support keyboard navigation within its components (the text input area and the various buttons) out of the box? That would IMHO be a serious flaw in a text oriented control.
I do like the idea of combining a textbox and one or more buttons, especially as that promises to takes away the problems with layout in high dpi, resizable dialogs, anchoring etc. Probably I could come up with some derived user control that does implement some form of keyboard support, but support out of the box would be nice.
Thank you for your feedback, we will consider implementing this if we receive more request for it.
Please note that using the host item is fairly simple solution. Here is how you can add a button that will be respected by the tab order:
Please let me know if there is something else I can help you with.