ÃÂ ÃÂ ÃÂ I have a composite control with Listbox and a Textbox. I am trying to achieve a functionality where in if I type something in the text box, the list box items gets filtered based on the text typed.
ÃÂ ÃÂ I am able to get this working, however I am having issues in retaining the Keyboard focus in the Textbox.
ÃÂ ÃÂ I am doing this functionality on the Key Up Event of the Textbox. If I type a text the event handler is getting triggered and performing the operation, but the focus goes from the Textbox
I am forcing the Focus by calling the Focus() function on the Textbox, but it doesn't seem to be working.
ÃÂ SDK of Focus function says: "Even if an element is focusable and enabled, event handling within a specific
tree, (such as for a composite control) might respond to the preview focus
events by not allowing focus there, thus this method would return false
How can I force the focus on the Textbox object.
View Complete Post