I am just starting to explore kendo UI. Within my HTML
, I have a div
:
<div id="newlabel"></div>
Inside this div
, I would like to dynamically add new labels
with increasing numbers using the functionality of a kendo UI button
.
@(Html.Kendo().Button()
.Name("button name")
.HtmlAttributes(new { type = "button",
@class = "k-primary",
id = "NewButton",
param = "newlabel",
style = "height:1.9em;font-size:11px;margin-top:8px;"})
.Content("NEW BUTTON")
.Events(ev => ev.Click("Addlabel")))