I've got a Grid configured to be inline editable. It has a couple of numeric fields which for which I've created custom validation.
The validation sets the min and max values based on another field which requires an $.ajax call.
This is working fine -- but I need the NumericTextBoxes to support 4 decimal places.
I've tried using a custom editor and setting the decimal and format parameters -- this allows 4 decimal places but breaks the custom validation. I've also tried editing the culture file and setting numberFormat to 4 decimals -- but this doesn't work -- the last two decimals are ignored.
Is there a way I can either set the default number format to 4 decimal places, or use a custom editor AND custom validator for a NumericTextBox?
Thanks
The validation sets the min and max values based on another field which requires an $.ajax call.
This is working fine -- but I need the NumericTextBoxes to support 4 decimal places.
I've tried using a custom editor and setting the decimal and format parameters -- this allows 4 decimal places but breaks the custom validation. I've also tried editing the culture file and setting numberFormat to 4 decimals -- but this doesn't work -- the last two decimals are ignored.
Is there a way I can either set the default number format to 4 decimal places, or use a custom editor AND custom validator for a NumericTextBox?
Thanks