Kendo ui TabStrip剑道UI不工作
我正试图用一些嵌套的网格设置剑道标签条。第一个选项卡可以很好地加载嵌套网格,但是,当我单击第二个选项卡时,tabStrip不会切换到第二个选项卡。我甚至从剑道下载了这个例子,它也不起作用!我已经导入了所有的剑道js文件(包括.all和.tabstrip文件)。但它不起作用。Im使用jQuery1.7和MVC4。这是我在剑道网站上的例子。除此之外,你有他们提供的css。有什么想法吗?提前谢谢Kendo ui TabStrip剑道UI不工作,kendo-ui,kendo-grid,Kendo Ui,Kendo Grid,我正试图用一些嵌套的网格设置剑道标签条。第一个选项卡可以很好地加载嵌套网格,但是,当我单击第二个选项卡时,tabStrip不会切换到第二个选项卡。我甚至从剑道下载了这个例子,它也不起作用!我已经导入了所有的剑道js文件(包括.all和.tabstrip文件)。但它不起作用。Im使用jQuery1.7和MVC4。这是我在剑道网站上的例子。除此之外,你有他们提供的css。有什么想法吗?提前谢谢 <div id="forecast"> @(Html.Kendo().TabStrip()
<div id="forecast">
@(Html.Kendo().TabStrip()
.Name("Menu")
.Items(tabstrip =>
{
tabstrip.Add().Text("Paris")
.Selected(true)
.Content(@<text>
<div class="weather">
<h2>17<span>ºC</span></h2>
<p>Rainy weather in Paris.</p>
</div>
<span class="rainy"> </span>
</text>);
tabstrip.Add().Text("New York")
.Content(@<text>
<div class="weather">
<h2>29<span>ºC</span></h2>
<p>Sunny weather in New York.</p>
</div>
<span class="sunny"> </span>
</text>);
tabstrip.Add().Text("Moscow")
.Content(@<text>
<div class="weather">
<h2>16<span>ºC</span></h2>
<p>Cloudy weather in Moscow.</p>
</div>
<span class="cloudy"> </span>
</text>);
tabstrip.Add().Text("Sydney")
.Content(@<text>
<div class="weather">
<h2>17<span>ºC</span></h2>
<p>Rainy weather in Sidney.</p>
</div>
<span class="rainy"> </span>
</text>);
})
)
@(Html.Kendo().TabStrip())
.名称(“菜单”)
.Items(tabstrip=>
{
tabstrip.Add().Text(“巴黎”)
.已选择(真)
.内容(@
17º;C
巴黎多雨的天气
);
tabstrip.Add().Text(“纽约”)
.内容(@
29º;C
纽约天气晴朗
);
tabstrip.Add().Text(“莫斯科”)
.内容(@
16º;C
莫斯科多云的天气
);
tabstrip.Add().Text(“Sydney”)
.内容(@
17º;C
悉尼多雨的天气
);
})
)
我的错误与jquery版本有关,使用tabStrip组件jquery 1.9.1是必需的 谢谢!
您使用的是什么版本的KendoUI?我也遇到了这个问题,只是我必须在jquery.js文件之后使用migrate js文件来更正jquery版本更改中的错误。