This is a migrated thread and some comments may be shown as answers.

[Solved] set value in RadNumericTextBox

1 Answer 122 Views
Editor
This is a migrated thread and some comments may be shown as answers.
shachar
Top achievements
Rank 1
shachar asked on 07 Feb 2010, 11:01 AM
hi all.
on my webform  i placed a RadNumericTextBox.
how do i set its value to 0 from a simple java_script function that i call?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Feb 2010, 07:01 AM
Hi Shachar,

The following code will set the RadNumericTextBox value from cllient side.

JavaScript:
 
    function SetValue() { 
        var Input = $find("<%= RadNumericTextBox1.ClientID %>"); 
        Input.set_value('0'); 
    } 

ASPX:
 
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server"
</telerik:RadNumericTextBox> 

Hopefully, you will find following links as useful in this topic,
Client-Side Basics
RadNumericTextBox Client Object

-Shinu.
Tags
Editor
Asked by
shachar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or