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.

HowTo: catch numeric up down events

Thread ID:

Created:

Updated:

Platform:

Replies:

5961 Jul 25,2003 03:27 PM Jul 25,2003 06:52 PM Windows Forms 1
loading
Tags: GridControl
Peter
Asked On July 25, 2003 03:27 PM

When the user clicks on the up down buttons of a numericupdown cell which event should be used to handle this, so that the new can value can also be used.

Administrator [Syncfusion]
Replied On July 25, 2003 06:52 PM

You can use the CurrentCellChanged event for this.
private void gridControl1_CurrentCellChanged(object sender, System.EventArgs e)
{
	GridCurrentCell cc = this.gridControl1.CurrentCell;
	string newValue = cc.Renderer.ControlText;
	double d = double.Parse(newValue);
	Console.WriteLine(d.ToString());
}

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.

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.

;