title: kendo combobox giving error while enabling and disabling
body: <p>I am using kendo combobox. I have written below code to enable and disable combobox</p>
  
  <pre><code>  function enableDisableFrameworkAndAltFrameworkVersion(platformVersion) {
  
          var comboBox = $("#selFrameworkVersion").data("kendoComboBox");
  
          if (platformVersion === 1 ) {
              comboBox.enable(false);
  
          }
      }
  </code></pre>
  
  <p>But this code gives me error as "Uncaught TypeError: Cannot call method 'enable' of undefined "</p>
  
  <p>Please help. Thanks in advance.</p>
  
  <p>Now i followed one example on this link below
  <a href="http://rniemeyer.github.com/knockout-kendo/web/ComboBox.html" rel="nofollow">Disable kendo combo</a></p>
  
  <p>So now i changed code in my html and added enabled parameter to kendo combobox like below</p>
  
  <pre><code>&lt;input  id="selFrameworkVersion" data-bind="kendoComboBox: { dataTextField: 'Name', dataValueField: 'Id', data:  $root.versionListByProductType, value:  $root.editFrameworkVersion, enabled: enableFrameWorkCombo} /&gt;
  </code></pre>
  
  <p>In my view model i declare one observable like below</p>
  
  <pre><code>self.enableFrameWorkCombo = ko.observable(true);
  </code></pre>
  
  <p>Then changed my function like below</p>
  
  <pre><code>function enableDisableFrameworkAndAltFrameworkVersion(platformVersion) {
  
      var comboBox = $("#selFrameworkVersion").data("kendoComboBox");
  
      if (platformVersion === 1 ) {
          $('#multiAltVersion').attr("disabled", true);
          //comboBox.enable(false);
          self.enableFrameWorkCombo(false);
          return;
      }
      else if (platformVersion === 2 || platformVersion === 3) {
          //comboBox.enable(true);
          self.enableFrameWorkCombo(true);
          $('#multiAltVersion').attr("disabled", true);
      }
      else {
          //comboBox.enable(true);
          self.enableFrameWorkCombo(true);
          $('#multiAltVersion').attr("disabled", false);
      }
  }
  </code></pre>
  
  <p>Now it gives me error </p>
  
  <pre><code>Uncaught Error: Unable to parse bindings.
  Message: ReferenceError: enableFrameWorkCombo is not defined;
  Bindings value: kendoComboBox: { dataTextField: 'Name', dataValueField: 'Id', data: $root.versionListByProductType, value:  $root.editFrameworkVersion, enabled: enableFrameWorkCombo, optionsCaption: 'Please select Version...' }
  </code></pre>
  
  <p>What am i doing wrong here?</p>