This question is locked. New answers and comments are not allowed.
Hello,
I'm getting the following error using the Dropdown list or ComboBox:
$("#SelectRateTable").data("tDropDownList").disable is not a function. The same error occurs for enable/disable.
Here is the event callback function:
And here is the dropdown I'm trying to disable:
Any help would be greatly appreciated.
If disable/enable don't work, can you possibly show me how to change the attr directly?
Thanks!
I'm getting the following error using the Dropdown list or ComboBox:
$("#SelectRateTable").data("tDropDownList").disable is not a function. The same error occurs for enable/disable.
Here is the event callback function:
function ProjectRateTypeChange() { $("#SelectRateTable").data("tDropDownList").disable();}And here is the dropdown I'm trying to disable:
<%= Html.Telerik().DropDownList() .Name("SelectRateTable") .SelectedIndex((int)Model.RateTables.FirstOrDefault().Key) .BindTo(new SelectList(Model.RateTables, "Key", "Value")) .DropDownHtmlAttributes(new { style = string.Format("height:125px;font-size:small") }) .HtmlAttributes(new { style = string.Format("width:165px;;vertical-align:middle") }) %>Any help would be greatly appreciated.
If disable/enable don't work, can you possibly show me how to change the attr directly?
Thanks!