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

[Solved] RadNumericTextBox disabling

3 Answers 753 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Saurabh Srivastava
Top achievements
Rank 1
Saurabh Srivastava asked on 14 Aug 2009, 01:46 PM
Hi,

I am not able to disable the RadNumericTextBox through javascript. Although I see a "disabled" property, this is set to false; even though I have declared my control as "Enabled=false".

Can anyone help?

Regards,
Saurabh

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Aug 2009, 02:15 PM
Hello Saurabh,

I suggest you use the client-side methods enable and disable:
$find('<%= RadNumericTextBox1.ClientID %>').disable(); 
RadNumericTextBox Client Object

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Saurabh Srivastava
Top achievements
Rank 1
answered on 14 Aug 2009, 02:22 PM
Many thanks, Daniel. This does work.

Another issue was how do I find out the the given value in the numeric textbox and the combobox on client side.
0
Daniel
Telerik team
answered on 14 Aug 2009, 10:10 PM
Hello Saurabh,

The requested information is shown below:

  • RadNumericTextBox:
var value = radNumericTextBox.get_value(); 
RadNumericTextBox client object documentation

  • RadComboBox
var value = radComboBox.get_text(); 
RadComboBox object documentation
Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Saurabh Srivastava
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Saurabh Srivastava
Top achievements
Rank 1
Share this question
or