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.
Up arrow icon