Kendo UI : Tabstrip 内容应该在点击按钮时重定向到同一个 Tabstrip 中的另一个视图

Kendo UI : Tabstrip content should redirect to another View in the same Tabstrip on button Click

我有一个 Tabstrip,在那个 Tabstrip 的内容中,我有一个按钮。所以当我点击按钮时,它会重定向到另一个页面。但是有什么方法可以让它只重定向到同一个 Tabstrip 的内容中吗?

** 这个问题之前有人问过,但是没人回答,有人能帮帮我吗!!我卡住了!!

谢谢!

您可以通过向选项卡条的 "select" 事件添加自定义处理程序来覆盖 Kendo 选项卡条 link 的默认行为。

$("#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