New to Kendo UI for jQuery? Download free 30-day trial

Configure Text Binding

The example below demonstrates how to configure text binding for the Hybrid UI Button in Kendo UI.

<div data-role="view" id="view" data-model="viewModel">
  <a data-role="button" data-bind="buttonText: value">Button</a>
<script> ={
    init: function(widget, bindings, options) {
      //call the base constructor, widget.element[0], bindings, options);
    refresh: function() {
      var that = this,
          value = that.bindings["buttonText"].get(); //get the value from the View-Model
  var app = new;

  var viewModel = kendo.observable({
    value: "CustomValue"

See Also

In this article