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. Image for the cookie policy date

HowTo: catch numeric up down events

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.

1 Reply

AD Administrator Syncfusion Team July 25, 2003 10:52 PM UTC

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());
}

Loader.
Up arrow icon