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

Performance issue with numericalup/down

Thread ID:





57879 Mar 13,2007 02:06 PM UTC Mar 14,2007 08:09 AM UTC WinForms 1
Tags: GridControl
Ivan Capin
Asked On March 13, 2007 02:06 PM UTC


I am using a grid that can or cannot have numerical up/down button on it. Unfortuanatly, when there are numerical buttons, a paint event is triggered when the mouse merely hovers over one of them which is not the case for common cells. That entails significant overhead when the grid contains many numerical up/down buttons.
Is there a way to avoid that overhead?

Thank you for your help.

Administrator [Syncfusion]
Replied On March 14, 2007 08:09 AM UTC

Hi Ivan,

You can try handling the CellMouseHoverEnter and check for the CellType. If the CellType matches the NumericUpDown then suspend the painting.

private void gridControl1_CellMouseHoverEnter(object sender, GridCellMouseEventArgs e)
GridCurrentCell cc = this.gridControl1.CurrentCell;
if (this.gridControl1[cc.RowIndex, cc.ColIndex].CellType == GridCellTypeName.NumericUpDown)
Console.WriteLine("Suspend Painting");

Kindly let us know if this helps.

Best Regards,


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