Hi Telerik Team,
Here I have got three tabs.
I want to get tabindex while selecting each tab and based on this tabindex I have to bind a grid.How to get tabindex while selecting tab?
Tab is shown as an attached file.
<script>
function rtsTasksSelect(e) {
}
</script>
@(Html.Kendo().TabStrip()
.Name("rtsTasks")
.Items(tabstrip =>
{
tabstrip.Add()
.Text("All")//To set Extra tab
.Selected(true)//To get default selection of this tab
.HtmlAttributes(new { Style = "Width:100%;" });
})
.BindTo(Model.ItemType.CreateTabStrip(),
(item, navigationData) =>
{
item.ImageUrl = "../" + "../" + navigationData.ImageUrl;
})
.Events(events => events
.Select("rtsTasksSelect")
)
)
Here I have got three tabs.
I want to get tabindex while selecting each tab and based on this tabindex I have to bind a grid.How to get tabindex while selecting tab?
Tab is shown as an attached file.
<script>
function rtsTasksSelect(e) {
}
</script>
@(Html.Kendo().TabStrip()
.Name("rtsTasks")
.Items(tabstrip =>
{
tabstrip.Add()
.Text("All")//To set Extra tab
.Selected(true)//To get default selection of this tab
.HtmlAttributes(new { Style = "Width:100%;" });
})
.BindTo(Model.ItemType.CreateTabStrip(),
(item, navigationData) =>
{
item.ImageUrl = "../" + "../" + navigationData.ImageUrl;
})
.Events(events => events
.Select("rtsTasksSelect")
)
)