Hi Gurumurthy,
I noticed a few problems with your current implementation:
- replacing/adding elements in the DOM at run time is not supported - newly inserted components will not be automatically initialized nor bound
- using kendo.bind is error prone. Mobile View has a model configuration option which should be used to bind the View to a given View-Model.
- you should bind to the click event of the button widget. In the current implementation, at first the span element in bound, button widget is initialized after that. In other words you are bound to the click event of the span element, not the button widget.
Instead of calling kendoMobileButton you may initialize it via data-role="button". In this way binding will automatically build the widget.
I hope this information will help.
Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!