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.

NumericUpDown question

Thread ID:

Created:

Updated:

Platform:

Replies:

38794 Dec 19,2005 02:04 PM Dec 20,2005 01:55 AM Windows Forms 1
loading
Tags: GridControl
Sean Greer
Asked On December 19, 2005 02:04 PM

Using Version 2.1.0.9 I need to have a cell in a GridControl that allows editing values that can be positive or negative and have 2 decimal places. I thought that the NumericUpDown would accomodate this, but it doesn''t have a DecimalPlaces property similar to the NumericUpDownExt. So, how do you recommend that I accomplish this?

stanleyj [Syncfusion]
Replied On December 20, 2005 01:55 AM

Hi Sean, Could you please check the Currency CellType by taking away the currency symbol to see if that matches your need. Style.CellType = "Currency"; Style.CurrencyEdit.CurrencyDecimalDigits = 2; Style.CurrencyEdit.CurrencyNumberDigits = 2; Style.CurrencyEdit.CurrencySymbol = ""; Style.CurrencyEdit.NullString = "00.00"; There are also have many other properties under CurrencyEdit. Regards, Stanley

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.

;