Hi Joaquín,
You should pass the name of the function without the parentheses.
How do you change the value of the TextBox? In your code it is declared as
ReadOnly, so the user can not edit the value and this means that the
OnValueChanged event will not be fired. It is fired when the text changes.
I tested it with changing the value using the
set_value() client function of the RadTextBox. and the
onValueChanged is fired with correct arguments.
Note that there is also an error in your code. This line:
Should be:
Here is demonstration how to properly attach the handler and check the values:
All the best,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now.