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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Render tab in area

Thread ID:

Created:

Updated:

Platform:

Replies:

140730 Nov 4,2018 11:01 PM UTC Nov 6,2018 03:55 PM UTC ASP.NET Core - EJ 2 3
loading
Tags: Tabs
Bernard Jurlina
Asked On November 4, 2018 11:01 PM UTC

I'm using areas in my project, so I want to use tab control in one of the views which is in one area. 


And, I want to render it with html, like this:



Like in this example in the documentation



But it won't render. Like I'm missing link to css style.
This is my output:



The red box has to be tab control.

Thanks!
B.

Arun Palaniyandi [Syncfusion]
Replied On November 5, 2018 11:59 AM UTC

Hi Bernard Jurlina, 

Thanks for contacting Syncfusion support. 

We have validated your reported issue using your shared codes and screenshots. We suspect that you may missed to include CSS and Script file reference from layout page of your Areas. You know that every Areas act like a separate project. So, we must refer scripts and CSS from the shared folder with references in layout.cshtml too to render our components. Also, we need to initialize the Tab component in the script section after rendered HTML elements like below.  

<script> 
   
//Initialize Tab component 
  var tabObj = new ej.navigations.Tab() 
   tabObj.appendTo('#tab_html_markup'); 

  </script> 

Please find the below UG help link for more reference. 

Also please find the below getting started link to refer the CSS in the layout page. 

If you face the issue still even referred the CSS and scripts properly, kindly get back to us with details to reproduce the issue in our end, that will help to address your issues quickly. 

Regards, 
Arun P. 


Bernard Jurlina
Replied On November 5, 2018 10:42 PM UTC

Thanks Arun,

initializing the tab in <script></script> do the job.

Regards,
Bernard.

Christopher Issac Sunder K [Syncfusion]
Replied On November 6, 2018 03:55 PM UTC

Hi Bernard, 

We are glad to hear that the issue has been resolved at your end. Please let us know if you need any further assistance. 

Thanks,
Christo 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;