You can embed RadInput
controls in a data-bound control and use it for editing. When the data-bound control creates the RadNumericTextBox
control as part of its own rendering, it can extract the input values.
Data-binding expressions are contained within <%# and %> delimiters and use the Eval
functions. The Eval
function is used to define one-way (read-only) binding. The Bind function is used for two-way (updatable) binding.
For more information about databinding, please refer to the following article:
Using RadInput Controls inside Data-Bound Controls
RadNumericTextBox exposes simple yet powerful API so that you may manipulate its value using custom client side code. Give a try of the code snippet bellow and let me know if it works for you.
| function Blur(sender, args)
| var input = sender;
| input.setValue(input.getValue() * 100);
|<telerik:RadNumericTextBox Type="Percent" ID="RadNumericTextBox1" runat="server">
| <ClientEvents OnBlur="Blur" />
I hope this information helps.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.