Hi,
I wrote the following code in javascript
if(...)
{ var controltodisable= $find("<%= ControlToDisable.ClientID %>");
controltodisable.set_enabled(false);}
Here, ControlToDisable is a RadTextBox.
With the above code the textbox looks disabled but I am still able to type text in it. The text appears greyed out though.
How can I resolve the issue?
Also, when I disable the same textbox from clientside (JS) and codebehind (CS) there is a difference in the field display style.
What could be the issue?
Brindavan
storageUnit1.set_enabled(false);
I wrote the following code in javascript
if(...)
{ var controltodisable= $find("<%= ControlToDisable.ClientID %>");
controltodisable.set_enabled(false);}
Here, ControlToDisable is a RadTextBox.
With the above code the textbox looks disabled but I am still able to type text in it. The text appears greyed out though.
How can I resolve the issue?
Also, when I disable the same textbox from clientside (JS) and codebehind (CS) there is a difference in the field display style.
What could be the issue?
Brindavan
storageUnit1.set_enabled(false);