Question Regarding ComboDropDown's DropDown

I would like to host a small multi-line text editor with ComboDropDown. The problem is that when I press ENTER in the richtextbox, the dropdown closes. Is there a way to stop this?

3 Replies

KJ Keerthana Jegannathan Syncfusion Team February 7, 2018 11:43 AM UTC

Hi Alan, 
 
Thank you for contacting Syncfusion support. 
 
In ComboDropDown, we have handled the key of the PopUpControlContainer and we have closed the PopUp when enter key has been pressed. Due to this, PopUp has been closed in your application while pressing enter key in RichTextBox. In order to ignore the keys of the PopUpControlContainer, we request you to use the “IgnoreDialogKey” property of PopUpContainer present in the ComboDropDown control. We have prepared a simple sample in which we keep opened the PopUp when enter key is pressed in RichTextBox and it can be downloaded from the below location. 
 
 
Regards, 
Keerthana J 
 
 



AB Alan Burkhart February 7, 2018 02:33 PM UTC

Problem solved. Thank you!


KJ Keerthana Jegannathan Syncfusion Team February 8, 2018 04:08 AM UTC

Hi Alan, 
 
Thanks for your update. 
 
We are glad that your requirement has been achieved. Please let us know if you need further assistance on this. 
 
Regards,
Keerthana J
 


Loader.
Up arrow icon