问题
I have a Tabstrip and in the content of that Tabstrip , I have a button. So when I click on the button it will redirect to the other page. But is there any way to make it just redirect in the content of the same Tabstrip?
** This question has been asked earlier but nobody answered,Can someone help me please !! Im stuck !!.
Thanks!
回答1:
You can override the default behavior of a Kendo tabstrip link by adding a custom handler to the tab strip's "select" event.
$("#tabStrip").kendoTabStrip({
select: function(event) {
// Detect if this is a case where override is needed
event.preventDefault();
// Navigate to the desired content
}
});
http://docs.telerik.com/kendo-ui/api/javascript/ui/tabstrip
来源:https://stackoverflow.com/questions/36182430/kendo-ui-tabstrip-content-should-redirect-to-another-view-in-the-same-tabstrip