Kendo UI TabStrip Helper -


i newbie in telerik (kendo). want know how can hide or show tab based on roles or authentication per user. guess been done helper, not sure how it.

please me regarding this.

thanks in advance.

regards,

ds

its bit difficult provide best answer without seeing have far, if initializing tabstrip using javascript have list if tabs in html:

<div id="example"> <div id="tabstrip">     <ul>         <li id="tabparis" class="k-state-active">             paris         </li>         <li id="tabnewyork">             new york         </li>         <li id="tablondon">             london         </li>     </ul>     <div>         <div class="weather">             <h2>17<span>ºc</span></h2>             <p>rainy weather in paris.</p>         </div>         <span class="rainy"> </span>     </div>     <div>         <div class="weather">             <h2>29<span>ºc</span></h2>             <p>sunny weather in new york.</p>         </div>         <span class="sunny"> </span>     </div>     <div>         <div class="weather">             <h2>21<span>ºc</span></h2>             <p>sunny weather in london.</p>         </div>         <span class="sunny"> </span>     </div> </div> 

give each of tab list items id.

then show or hide list item id using jquery

$('#tabnewyork').hide() 

here working example in jsfiddle: http://jsfiddle.net/loanburger/9mlz5wnc/


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

How do you convert a timestamp into a datetime in python with the correct timezone? -