Hi All,
I glanced through the search for a little bit, but couldn't find an example that worked for me.
I have a RadNumericTextBox in a RadWindow. I am passing arguments to the RadWindow and I need to be able to enable/disable the text box before it is shown to the user. I do this, but the label next to the text box remains gray. I have remedied this in other scenarios, but I am struggling here.
I tried a few examples, but basically all I'd like to do is the equivalent of "RadNumericTextBox1.LabelCssClass = "LabelEnabled"" where LabelEnabled is the CssClass that applies the appropriate coloring scheme to the label. How can I achieve this client-side?
Thanks
Sean
I glanced through the search for a little bit, but couldn't find an example that worked for me.
I have a RadNumericTextBox in a RadWindow. I am passing arguments to the RadWindow and I need to be able to enable/disable the text box before it is shown to the user. I do this, but the label next to the text box remains gray. I have remedied this in other scenarios, but I am struggling here.
function pageLoad() { var oWindow = GetRadWindow(); properties = oWindow.argument; if (properties) { if (properties["AutoRefreshEnabled"] == "True") { CheckBox1.checked = true; $find("<%= RadNumericTextBox1.ClientID %>").set_value(properties["AutoRefreshInterval"]); $find("<%= RadNumericTextBox1.ClientID %>").enable();
//Apply CSS Class here } }I tried a few examples, but basically all I'd like to do is the equivalent of "RadNumericTextBox1.LabelCssClass = "LabelEnabled"" where LabelEnabled is the CssClass that applies the appropriate coloring scheme to the label. How can I achieve this client-side?
Thanks
Sean