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.

Error Msg Entering "0" value into a Decimal Cell

Thread ID:

Created:

Updated:

Platform:

Replies:

16760 Jul 23,2004 06:46 AM Jul 26,2004 05:26 AM Windows Forms 2
loading
Tags: Grouping
Administrator [Syncfusion]
Asked On July 23, 2004 06:46 AM

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 07:56 AM

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 05:26 AM

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.

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.

;