Cannot type on textbox on DockingManager is in Float mode

On my test project WIndows Form, I'm opening a WPF popup, there is DockManager with a textbox in it, another textbox outside, but the textbox inside the DockManager is not working, I cannot type anything when is in Float mode. I don't have issue with Dock mode.


Attachment: WindowsFormsApp1_c5fd0a1d.zip

3 Replies 1 reply marked as answer

BA BagavathiPerumal Apranandham Syncfusion Team September 23, 2022 12:51 PM UTC

Hi Gregory,


Your reported issue is present in Framework. It is already discussed in the MSDN forum. Please use "System.Windows.Threading.Dispatcher.Run()" method when loading UserControl from WinForms. Please refer to the modified sample for your reference. Please refer to the solution from the following forum discussion.

MSDN link: https://social.msdn.microsoft.com/Forums/en-US/77f85a21-a961-4fe2-ba4b-b92c4342da55/wpf-textbox-not-able-to-type-anything-when-open-up-the-3rd-window?forum=wpf


Code snippets:

public Form1()
{
InitializeComponent();
var us = new UserControl2();
ElementHost.EnableModelessKeyboardInterop(us);
us.Show();
ystem.Windows.Threading.Dispatcher.Run();

}



Regards,
Bagavathi Perumal A


Attachment: DockingManagerWinFormsApp_b4d39978.zip

Marked as answer

GA Gregory Amable Garcia September 24, 2022 01:36 PM UTC

Thank you.



BA BagavathiPerumal Apranandham Syncfusion Team September 26, 2022 09:12 AM UTC

Hi Gregory,


We hope that your issue is resolved. Please let us know if you need any other assistance. We are happy to assist you.


Regards,
Bagavathi Perumal A



Loader.
Up arrow icon