We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Add tabs to tab control on client side

Hello,

I want to add tabs to tab control only on client side, but if the tab control has not chidren tabs at the beginning, the control tab is not on client side (only a span object) and I can't add children tabs on client side, how can I solve this? How to load the tab control without children tabs?

Thanks!

4 Replies

JP Jorge Pampin replied to Jorge Pampin November 9, 2015 05:13 PM UTC

Hello,

I want to add tabs to tab control only on client side, but if the tab control has not chidren tabs at the beginning, the control tab is not on client side (only a span object) and I can't add children tabs on client side, how can I solve this? How to load the tab control without children tabs?

Thanks!

And How to add controls to these new children tabs on client side?

Thanks!


MS Muralishankar Sundaram Syncfusion Team November 11, 2015 01:04 PM UTC

Hi Jorge,

Thanks for contacting Syncfusion support,

By using the Tab control- addItem method, we can add a new tab  item in a client level. Please find API documentation link below:
http://help.syncfusion.com/js/api/ejtab#methods:additem  

We have prepared the tab control sample for adding tab item in client side and it available in a bellow link:
http://www.syncfusion.com/downloads/support/forum/121080/ze/tab334406377

If the given details doesn’t solve your problem, please share your requirement briefly.

Regards,
Muralishankar


JP Jorge Pampin November 11, 2015 02:29 PM UTC

Hello,

The sample doesn't work if the tabcontrol has not tabs initally :

 <ej:Tab ID="DefaulttabContent" runat="server" Width="600px">

 </ej:Tab>

And, how to set the ImageCssClass property to the new tabs?

Thanks!



AP Arun Palaniyandi Syncfusion Team November 13, 2015 05:02 AM UTC

Hi Jorge,

We were able to reproduce the problem and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,
Arun P

Loader.
Live Chat Icon For mobile
Up arrow icon