O'Reilly logo

Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API by Ragini Kumbhat Bhandari, Nishanth Nair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Button widget

We got introduced to Kendo Mobile Button widget in Chapter 2, Building Your First Mobile Application. In this chapter we will learn more about this widget and how to customize it. Button is one of the simplest widgets in the Kendo UI Mobile widget stack with a couple of methods and only the click event associated to it. It is used to navigate to a view (local or remote) or to call a JavaScript function when the click event is fired.

The Button widget

Button can be initialized either declaratively using an anchor tag or an HTML5 <button> tag by setting the role data attribute:

<div data-role="view"> <br/> <button data-role="button" data-click="buttonClick" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required