title: disable kendo mvc dropdownlist using checkbox
body: <p>I have a checkbox that should enable Kendo MVC DropdownList when checked and diable DropdownList when unchecked. But I can't do, there is a problem. Can you suggest how can I resolve this issue.</p>
  
  <pre><code>&lt;input type="checkbox" onclick="if (this.checked) { document.getElementById('ParentDeptDrp').disabled = true; } else { document.getElementById('ParentDeptDrp').disabled = false; }" /&gt;
              Is Product/Service?
              &lt;br /&gt;        
              @(Html.Kendo().DropDownList()
                  .Name("ParentDeptDrp") 
                  .DataTextField("DeptName") 
                  .DataValueField("DeptName") 
                  .DataSource(source =&gt;
                  {
                         source.Read(read =&gt;
                         {
                              read.Action("GetParentDeptt", "Department"); 
                         })
                         .ServerFiltering(true); 
                  })
                  .SelectedIndex(1) 
                  //.Enable(false)
  
              )        
  </code></pre>