I have the latest version of telerik (2013) but I am with the following problem, I need to change the value of a radnumerictextbox using javascript (client side), but after I set a value using JQuery or javascript regular control changes value because daa format, follows the control and js code:
<telerik: RadNumericTextBox id = "txtValor" runat = "server" EnableEmbeddedSkins = "false" Height = "15px" Skin = "Corporate" Width = "90%">
<NumberFormat DecimalSeparator="," DecimalDigits="2" />
</ telerik:RadNumericTextBox>
I try this
$(idCampo).val(_valorTotal.replace(".", ","));
$(nomeCampo).text(_valorTotal.replace(".", ","));
when running a postback the mask is lost, for example: 2000.55 = 200,055.00
And also tried this:
$(idCampo).val(parseFloat (_valorTotal));
$(idCampo).text(_valorTotal.replace (".", ""));
when executed the value is shown without masks, but when generated the postback event is placed usually 2000.55 = 2.000,55
Would have some event to update fields in the mask? Would otherwise not have tried to set a value in control?