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

Error Msg Entering "0" value into a Decimal Cell

Thread ID:

Created:

Updated:

Platform:

Replies:

16760 Jul 23,2004 10:46 AM UTC Jul 26,2004 09:26 AM UTC WinForms 2
loading
Tags: Grouping
Administrator [Syncfusion]
Asked On July 23, 2004 10:46 AM UTC

I have a grouping grid which is raising a strange message whenever i Type in 0 and move to another cell. I get a MessageBox with the message "is not a valid value for a Decimal.". Normally it tells you the value that you''ve entered is not valid I now can''t enter a 0 value; FYI I''ve noticed this console msg: catched at Syncfusion.Windows.Forms.Grid.GridCellRendererBase.OnValidate() in :line 0

Administrator [Syncfusion]
Replied On July 23, 2004 11:56 AM UTC

Jason, Does that occur out of the box with a simple sample or are you handling events, formatting cells etc? If you have source code version you could switch to the debug build. Then the call stack would be more informative. Or if you only have the release version try to display the whole call stack. That would be of help to figure out where the exception was thrown. Try also to set Break Into Debugger for CLR Exceptions in the Debug|Excptions menu in Visual Studio. Thanks, Stefan

Administrator [Syncfusion]
Replied On July 26, 2004 09:26 AM UTC

Hi Stefan, it was my fault entirely, I had a badly formed format string: "#,##0;-#,##0; " an empty space for the zero section

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

;