Hi,
I need to create 3 tabs dynamically (with JavaScript), It works fine, if I have another tab created before, if not, I can see the "tab titles" but not the content and I am don't know what happens.
If I have this:
<div id="tabstrip" >
<ul>
<li class="k-state-active">tab 1</li>
</ul>
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
</div>
</div>
I can create new Tabs using this function:
var tabStrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
tabStrip.append({
text: "title",
content: generateTabContent("19")
});
And works fine, but I have problems when I try to create new tabs dynamically without any previous tabs...
I am sure that is something simple... but I cannot find the problem.
Please can anyone help me?
Thanks,
I need to create 3 tabs dynamically (with JavaScript), It works fine, if I have another tab created before, if not, I can see the "tab titles" but not the content and I am don't know what happens.
If I have this:
<div id="tabstrip" >
<ul>
<li class="k-state-active">tab 1</li>
</ul>
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
</div>
</div>
I can create new Tabs using this function:
var tabStrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
tabStrip.append({
text: "title",
content: generateTabContent("19")
});
And works fine, but I have problems when I try to create new tabs dynamically without any previous tabs...
I am sure that is something simple... but I cannot find the problem.
Please can anyone help me?
Thanks,