I have added a text box into a menu with the following code.
The text box appears however when I click in it to type something it will only stay in focus while the mouse button is down. As soon as I release the mouse button it loses focus and I can no longer type in the box.
Why can I not type in the textbox?
<telerik:RadMenuItem x:Name="EmployeeLookupMenuItem" StaysOpenOnClick="True" > <telerik:RadMenuItem.Header> <StackPanel> <telerik:RadWatermarkTextBox Name="EmployeeLookupTextBox" KeyUp="EmployeeLookupTextBox_KeyUp" WatermarkContent="Employee ID" Width="100" /> </StackPanel> </telerik:RadMenuItem.Header></telerik:RadMenuItem>The text box appears however when I click in it to type something it will only stay in focus while the mouse button is down. As soon as I release the mouse button it loses focus and I can no longer type in the box.
Why can I not type in the textbox?