Hi
How can i use the x-kendo-template for my grid toolbar?
Before I got something like this:
kendoGrid({
toolbar: kendo.template($("#toolbarTemplate").html())
});
and a corresponding script like:
<script type="text/x-kendo-template" id="toolbarTemplate">
<div class="toolbar">
</div>
</script>
how can i use the same template script inside asp.net mvc kendo ui grid
@(Html.Kendo().Grid(Of CProductionDataGridViewModel)().Name("datagrid").ToolBar(Sub(toolbar)
toolbar.Template("kendo.template($('#toolbarTemplate').html()")
End Sub))
Thanks
How can i use the x-kendo-template for my grid toolbar?
Before I got something like this:
kendoGrid({
toolbar: kendo.template($("#toolbarTemplate").html())
});
and a corresponding script like:
<script type="text/x-kendo-template" id="toolbarTemplate">
<div class="toolbar">
</div>
</script>
how can i use the same template script inside asp.net mvc kendo ui grid
@(Html.Kendo().Grid(Of CProductionDataGridViewModel)().Name("datagrid").ToolBar(Sub(toolbar)
toolbar.Template("kendo.template($('#toolbarTemplate').html()")
End Sub))
Thanks