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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Keypress doesn't trigger

Thread ID:

Created:

Updated:

Platform:

Replies:

147539 Sep 15,2019 03:43 AM UTC Sep 16,2019 11:01 AM UTC WinForms 1
loading
Tags: SfComboBox
Sebastian
Asked On September 15, 2019 03:43 AM UTC

Hi, I've the next code for my sfcombobbox in order to do something when de Enter/Return key is pressed, but the KeyPress event doesn't work


private Syncfusion.WinForms.ListView.SfComboBox sfCBProveedores; this is the declaration at the generated code

 private void SfCBProveedores_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar==(char)Keys.Return)
            {
                txtdescripcion.Focus();
            }
        }

I tried with Keys.Enter and the result is the same. Also happens with other controls like TextBoxExt txtdescripcion
thanks!


Vijayalakshmi Roopkumar [Syncfusion]
Replied On September 16, 2019 11:01 AM UTC

Hi Sebastian

Thank you for contacting Syncfusion Support.

We have checked your reported query and found that the KeyPress event is not get triggered in SfComboBoxAdv, but we could not able to reproduce the reported problem . We have prepared a simple sample for the same and you can download it from below for your reference:

Sample Link: https://www.syncfusion.com/downloads/support/forum/147539/ze/SfComboBoxIssue_fd8817d3-102326247 

Can you please check the sample and video , and let us know whether we are following correct procedure to reproduce this issue? If not, please let us know about the brief replication scenario and also let us know about your product version details.
It would be helpful for us to proceed on this further.

Regards
Vijayalakshmi V.R. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon