Hi,
I need to use this mask '##0.#'
So if I launch my application it will display '___._'. That's correct.
The problem is when I change the Value.
By default : (on debug)
this.RadMaskedEditBox_Test.Mask "##0.#" string
this.RadMaskedEditBox_Test.Value "" object {string}
this.RadMaskedEditBox_Test.Text "___._" string
Value to set :
Singleton.Instance.MarketGrowthRate 1.4 decimal
After this code :
this.RadMaskedEditBox_Test.Value "14" object {string}
this.RadMaskedEditBox_Test.Text "14_._" string
It doesn't set 1.4 in the value and "__1.4" in the text.
And I can't use something like n1 because I must have a maxlength. (999.9)
Thanks for your help
I need to use this mask '##0.#'
So if I launch my application it will display '___._'. That's correct.
The problem is when I change the Value.
By default : (on debug)
this.RadMaskedEditBox_Test.Mask "##0.#" string
this.RadMaskedEditBox_Test.Value "" object {string}
this.RadMaskedEditBox_Test.Text "___._" string
Value to set :
Singleton.Instance.MarketGrowthRate 1.4 decimal
this.RadMaskedEditBox_Test.Value = Singleton.Instance.MarketGrowthRate.ToString(this.RadMaskedEditBox_Test.Mask); |
After this code :
this.RadMaskedEditBox_Test.Value "14" object {string}
this.RadMaskedEditBox_Test.Text "14_._" string
It doesn't set 1.4 in the value and "__1.4" in the text.
And I can't use something like n1 because I must have a maxlength. (999.9)
Thanks for your help