How avoid destroy/rebuild of Tab Content when changing Tab

Hello,

Currently when I use Tabs, each tab is rebuilt when it displays more than one time. Is there a way to avoid the rebuild ?

Regards,

Brice.

5 Replies 1 reply marked as answer

AK Alagumeena Kalaiselvan Syncfusion Team June 8, 2020 07:55 AM UTC

Hi Brice, 

Thanks for contacting Syncfusion support. 

We have checked your reported issue “How to avoid the rebuild of tab content while switching Tabs” and by default Tab content has been rendered at the time of Tab items switching alone. So, you can avoid the rebuild of content rendering by using ContentLoad.Demand to the property LoadOn. Refer the below UG link for that. 


Kindly get back to us, If you need further assistance. 

Regards 
Alagumeena.K 


Marked as answer

BF Brice FROMENTIN June 8, 2020 11:22 AM UTC

Thanks, it works.


VM Vengatesh Maniraj Syncfusion Team June 9, 2020 08:32 AM UTC

Hi Brice, 

You are most welcome. 

Please get in touch with us if you need any further assistance. 

Regards, 
Vengatesh  



BL Blazor replied to Vengatesh Maniraj August 7, 2022 11:19 PM UTC

I have 5 tabs 
I want to keep only first tab in ContentLoad.Demand mood, others has to reload every time( ContentLoad.Dynamic).

How can i achive this ?



SK Satheesh Kumar Balasubramanian Syncfusion Team August 8, 2022 12:50 PM UTC

Hi Blazor,

 

We regret to let you know that it is not possible to render the first tab item content in demand mode and other tab items content in dynamic mode. Please let us know if need further assistance.

 

Regards,

Satheesh Kumar B


Loader.
Up arrow icon