Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
div
class
=
'k-button'
data-bind
'click: newProduct'
><
span
"k-icon k-i-plus"
></
> New</
>
script
type
"text/javascript"
function newProduct(evt) {
alert(evt.event.target.tagName);
}
</
<div id=
'newProdView'
<div class=
data-bind=
><span class=
'k-icon k-i-plus'
></span> New</div>
</div>
<script type=
var
newProdViewModel = kendo.observable({
newProduct:
function
(vm) {
// vm is the view model
alert(vm.target.innerText);
});
kendo.bind($(
"#newProdView"
), newProdViewModel);
</script>