mã:RadnumericTextbox tròn vấn đề
<telerik:RadNumericTextBox ShowSpinButtons="False" DisplayText="Infinite"
ID="MaximumAmount_tb" runat="server" IncrementSettings-InterceptArrowKeys="true">
<ClientEvents OnFocus="OnMAximumAmounttbFocus" />
</telerik:RadNumericTextBox>
function OnMAximumAmounttbFocus(sender, args) {
//alert(sender.get_displayValue());
if (sender.get_displayValue() == "Infinite") {
sender.set_value("9,999,999,999,999.99999");
}
else
{return false; }
}
tôi luôn luôn nhận được con số này là một kết quả trên tập trung: 10000000000000 tại sao? và làm cách nào tôi có thể khắc phục sự cố của mình để hiển thị: 9999999999999.99999?