4 Answers, 1 is accepted
You could use get_numberFormat() property of the RadNumericTextBox client object to access the number format object. Here is an example how you could change the negative and positive patterns:
See the resources bellow for more information:
the Telerik team
I know this is an old post, but I'm trying to change a RadNumericTextbox formatting client side and I followed the code above and it seems to be working but when I type in a number I get the previous format, set from the server side. I examined the .get_numberFormat() object after setting it and it shows the correct values, but the behavior is from before the format was reset. Any ideas?
I just tested this on our demos, and seems to be working.
Navigate to: http://demos.telerik.com/aspnet-ajax/numerictextbox/overview/defaultcs.aspx
And type in the console:
And then change the value of Units to 123.456
Then you will get "$ 123.456" as visible value when you blur.
Could you share with us more details about the problem?
Telerik by Progress
Thank you Vasil for the quick reply. Sorry I left out, this is all happening in a RadGrid. Turns out the issue is the line below. It's pulling the first row "" I need to find out a way to determine which row I need (it varies) and then feed that to the client side. Anyway that's not your problem, it's mine, thank you very much for your help. - Steven