Validation bug in Spread 2.5.2011!

Posted by: dkennedy on 8 September 2017, 12:39 pm EST

  • Posted 8 September 2017, 12:39 pm EST

    I recently upgraded my application from Spread 2.5.2007 to 2.5.2011.  I have code that attempts to validate user's input into a cell.  It does this by adding an event handler in the EditModeOn event as shown in the following example:


    myGrid.EditingControl.Validating += new System.ComponentModel.CancelEventHandler(this.MyValidatingHandler);


    When the validation event handler fires, and I can set the CancelEventArg's .Cancel property to true if there is a validation error, and the cell will stay in edit mode.


    However, with 2.5.2011, this no longer works and the cell always leaves the edit mode.  I just tried Spread 2.5.2009 and it is working fine, so the bug was introduced in either 2010 or 2011.

  • Replied 8 September 2017, 12:39 pm EST

    Can you post a small project reproducing this for us to debug?
  • Replied 8 September 2017, 12:39 pm EST

    Hello,


    I was able to reproduce this issue and have reported this as a bug (#20822) for the development team to fix for the next maintenance release.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels