Does anyone know how to add a tab in Telerik's MVC TabStrip using Client Side API ? There is nothing in documentation and no code in tabstrip javascript too. I am hoping 开发者_Python百科some one might have done this before.
Thanks in advance !!
After googling a lot , i got this post. It solved my problem of adding new tab using client API. you will have to download telerik.extensions.js
and register it in _layout.cshtml
and then just call addTab on your tabstrip instance like this:
$("#customerTabs").data("tTabStrip").addTab({ text: 'customer #' + custId, html: "<div>some customer</div>"});
精彩评论