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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to handle KeyDown event in ButtonEdit control ?

Thread ID:

Created:

Updated:

Platform:

Replies:

94904 Jun 9,2010 12:27 PM UTC Jun 14,2010 02:42 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Michael
Asked On June 9, 2010 12:27 PM UTC

Must be something like this : http://help.syncfusion.com/ug_74/Toolswin/HowToHandleKeyDownEventInComboBoxBarItem.html.

But cannot find how to apply to ButtonEdit.

Karikalan Natarajan [Syncfusion]
Replied On June 14, 2010 02:42 PM UTC

Hi,

Thank you for your interest int Syncfusion Products.

You can fire the KeyDown event in ButtonEdit control. Here is the sample application which illustrates you the same.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=WindowsFormsApplication1413143098.zip

The sample code as follows,

public Form1()
{
InitializeComponent();
this.buttonEdit1.TextBox.KeyDown += new KeyEventHandler(TextBox_KeyDown);
}

void TextBox_KeyDown(object sender, KeyEventArgs e)
{
MessageBox.Show("KeyDown");
this.textBox1.Text = "KeyDown";
}

Please let me know if it helps you.

Thanks,
Karikalan N

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.

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

;