I have declared an ultranumeric editor and assigned it to a ultragrid in the editorComponent
The declaration is as follows
UltraNumericEditor ultraNumEditor = new UltraNumericEditor(); ultraNumEditor.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always; ultraNumEditor.FormatString = "#0"; ultraNumEditor.NumericType = NumericType.Double; ultraNumEditor.MaskInput = "nnnnnnnnnnn"; ultraNumEditor.Nullable = false; grdTrades.DisplayLayout.Bands[0].Columns[COLUMN_COMMITTEDQUANTITY].EditorComponent = ultraNumEditor; grdTrades.DisplayLayout.Bands[0].Columns[COLUMN_COMMITTEDQUANTITY].CellActivation = Activation.AllowEdit;
The above editor is allowing the user to clear the data and keep it blank, in which case it returns DBNull as the value. I want the NumericEditor control to automatically set the blank value to zero. Also in the above I want the user to enter only non negative numbers without any decimals.
Hello Puneet,
I have investigated your issue and I have asked our engineering staff to examine this further. To be able to track this issue I have created a support ticket for you in our internal tracking system with ID: CAS-129396-R8N4Y7. So I will update you for the progress of this matter trough the mentioned case.
Also to mention we are using the NetAdvantage 2012.1 version.