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

PopupControlContainer

hello

i have a problem with PopupControlContainer
i set IgnoreKeys = true
but the chiled popup don't get the key board input

is there any way to send the key message to the control under the container

i am working with .Net 2003
and the syncfusion 3.301

thank


1 Reply

HA haneefm Syncfusion Team January 4, 2008 09:20 PM UTC

Hi Michael,

You can use the SendKeys.Send method to send key message to child control. Below are the codes:

Control c = this.comboDropDown1.PopupContainer.Controls[0];
c.KeyPress += new KeyPressEventHandler(c_KeyPress);

//You need to set the focus to the control befor sending the key message.
c.Focus();
SendKeys.Send("{A}");

Best regards,
Haneef


Loader.
Live Chat Icon For mobile
Up arrow icon