or
<div id="chatTabStrip"></div><button onclick="buttonClick()">Create Tab</button><script type="text/javascript"> $(document).ready(function () { $("#chatTabStrip").kendoTabStrip({ animation: { open: { effects: false } } }).data("kendoTabStrip"); function buttonClick() { var tabStrip = $("#chatTabStrip").data("kendoTabStrip"); if (tabStrip == null) { tabStrip = $("#chatTabStrip").kendoTabStrip({ animation: { open: { effects: false } } }).data("kendoTabStrip"); } $.ajax({ url: '@Url.Action("GetTabPartialView", "Chat", new { area = "Chat" })', type: 'GET', success: function (result) { tabStrip.append({ text: node.Text, content: result }); tabStrip.select(tabStrip.tabGroup.children("li:last")); } }); } });</script><script type="text/javascript" src="../javascript/jquery.cycle.all.js"></script> <script type="text/javascript"> $(window).load(function(){ $('#listView').cycle({ fx: 'scrollRight', next: '#listView', timeout: 0, easing: 'easeInOutBack' }); }); </script>$("#grid").kendoGrid({ dataSource: viewModel.data, toolbar: [{ name: "head", template: '<span>Type: <label data-bind="text: #=viewModel.type#"></label></span>' }], columns: [ { field: "Field1", title: "Column1", template: '#=val1#' }, { field: "Field2", title: "Column2", template: '#=val2#' }, { field: "Field3", title: "Column3", template: '#=val3#' } ], autoBind: true});