R2 2018 Release is here – now with modern UI for chatbots and more! See what’s new!
All Components
Change Theme

SASS Themes (beta)

    LESS Themes

      SASS Theme Builder

      Create new or customize SASS themes
      Launch Theme Builder

      MVVM / HTML element binding

      • Text

      • Text with update on keyup event

      • Textarea

      • Checkbox

      • Radio

      • Checkbox list

      • Select

      • Multiple select

      Current view model state

          textValue: ,
          textareaValue: ,
          checkboxValue: ,
          radioValue: ,
          checkBoxListValue: [],
          selectValue: ,
          multipleSelectValue: []

      View source code:

          <div class="demo-section k-content wide">
                  <ul class="fieldlist">
                       <li><h4>Text</h4> <input type="text" data-bind="value: textValue" class="k-textbox" /></li>
                       <li><h4>Text with update on keyup event</h4> <input type="text" data-value-update="keyup" data-bind="value: textValue" class="k-textbox" /></li>
                       <li><h4>Textarea</h4> <textarea data-bind="value: textareaValue" class="k-textbox" style="height: 40px; width: 140px;"></textarea></li>
                               <input type="checkbox" data-bind="checked: checkboxValue" />Check
                  <ul class="fieldlist">
                               <input type="radio" name="fruit" value="Apple"
                                      data-bind="checked: radioValue" />Apple
                               <input type="radio" name="fruit" value="Banana"
                                      data-bind="checked: radioValue" />Banana
                               <input type="radio" name="fruit" value="Orange"
                                      data-bind="checked: radioValue" />Orange
                       <li><h4>Checkbox list</h4>
                               <input type="checkbox" value="Apple"
                                      data-bind="checked: checkboxListValue" />Apple
                               <input type="checkbox" value="Banana"
                                      data-bind="checked: checkboxListValue" />Banana
                               <input type="checkbox" value="Orange"
                                      data-bind="checked: checkboxListValue" />Orange
                       <li><h4>Select</h4> <select data-bind="source: fruits, value: selectValue" style="width: 147px;"></select></li>
                       <li><h4>Multiple select</h4> <select multiple data-bind="source: fruits, value: multipleSelectValue" style="width: 147px;"></select></li>
                  <h4>Current view model state</h4>
          textValue: <span data-bind="text: textValue"></span>,
          textareaValue: <span data-bind="text: textareaValue"></span>,
          checkboxValue: <span data-bind="text: checkboxValue"></span>,
          radioValue: <span data-bind="text: radioValue"></span>,
          checkBoxListValue: [<span data-bind="text: displayCheckBoxListValue"></span>],
          selectValue: <span data-bind="text: selectValue"></span>,
          multipleSelectValue: [<span data-bind="text: displayMultipleSelectValue"></span>]

      View model source code:

      var viewModel = kendo.observable({
          textValue: "Text value",
          textareaValue: "Textarea value",
          checkboxValue: false,
          radioValue: "Apple",
          checkboxListValue: ["Apple"],
          multipleSelectValue: ["Apple"],
          fruits:["Apple", "Banana", "Orange"],
          selectValue: "Apple",
          displayCheckBoxListValue: function() {
              return this.get("checkboxListValue").join(", ");
          displayMultipleSelectValue: function() {
              return this.get("multipleSelectValue").join(", ");
      kendo.bind($("div.demo-section"), viewModel);

      HTML5/JavaScript source

      API Reference
      • elements.html
      • Widget configuration

      Support & learning resources