or
columns.Template(@<text>
@Html.ActionLink(@item.Id.ToString(), "Edit", "CompanyDtails", new { companyId = @item.Id, currentIndex = 0 })
</text>)
.ClientTemplate("<a href='/CompanyDetails/CompanyDetail?companyId=#=Id#¤tIndex=#=0#'>Edit</a>")
.Title("Edit").Width("4%");var app = new kendo.mobile.Application(document.body);Now if want to test my hybrid app on both android and iphone emulators at the same time, do i need to declare two variables??
data = new kendo.data.HierarchicalDataSource({ transport: { read: { url: "/Controller/Action", dataType: "json" } }, schema: { model: { id: "Id", hasChildren: "HasChildren" } }});$("#tree").kendoTreeView({ dataSource: data, dataTextField: "Alias", selected: "Selected"});
$("#newBatchWindow").kendoWindow({ width: "425px", height: "375px", title: "New Batch", visible: false, resizable: false, modal: true, content: "/Batch/Create"});var batchWindow = $('#newBatchWindow').data('kendoWindow');batchWindow.center();batchWindow.open();