Hi ,
Want the call the action each time I click the tab , Below is my code its not working , Please help
@(Html.Kendo().TabStrip()
.Name("Information")
.Items(tabstrip =>
{
tabstrip.Add().Text("Tab 1")
.Selected(true).Content(@<text> @Html.Action("one", "Home")</text>);
tabstrip.Add().Text("Tab 2 ")
.Content(@<text> @Html.Action("two", "Home")</text>);
})
.Events(e => e.Select("reloadTab"))
)
<script type="text/javascript">
function reloadTab(e) {
//clear the current content of the tab before it's displayed to force the tabStrip to load it
var ts = $("#Information").data().kendoTabStrip;
ts.tabGroup.on('click', 'li', function (e) {
ts.reload($(this));
});
}
</script>
Arun