TabControlExt preload

Hello

Is there a way to preload content in TabContolExt to avoid delay when a new TabItem with big content is added ?

Thank You

Janusz Bieńkowski



7 Replies

SN Sudharsan Narayanan Syncfusion Team February 3, 2022 05:04 PM UTC

Hi Janusz,

Currently, we don’t have an option to Preload the tab item content in TabControlExt to avoid the time delay. However, we have a solution that, whether it meets your requirements or not, is dependent on the application and control loaded in the tab item.
So, please kindly check the solution from the below sample,

Sample: https://www.syncfusion.com/downloads/support/forum/172467/ze/TabControlLoad1985206796


Please let us know your concerns.

Regards,
Sudharsan



JB Janusz Bienkowski replied to Sudharsan Narayanan February 4, 2022 06:43 AM UTC

I would like to programmatically add TabItem with big content which should be previously preloaded to avoid display delay. Could You please look at attached sample project ?


Janusz Bieńkowski


Attachment: TabControlExPreload_96a2b97b.7z


SN Sudharsan Narayanan Syncfusion Team February 8, 2022 03:33 AM UTC

Hi Janusz,

You can be able to achieve the “TabControlExt PreLoad the TabItem” requirement by invoking TabControl loaded event and load the tab item content. So, we have modified the sample and attached from the below location,

Sample: https://www.syncfusion.com/downloads/support/forum/172467/ze/TabControlExPreload-2025723080


Please check the above sample and let us know. If we misunderstood the query, Please share more details about the requirement. So, it will be helpful to provide you the solution at the earliest.

Regards,
Sudharsan



JB Janusz Bienkowski February 20, 2022 02:39 PM UTC

Thank You, but that is not exactly what I need. I have found that Sacha Barber's solution

 (https://stackoverflow.com/questions/2193166/how-do-i-prerender-the-controls-on-a-tabitem-in-wpf)

does the trick.

It applies to to stanard TabControl. Is this solution possible when inheriting from Syncfusion's TabControlExt ?


Kind regards

Janusz Bieńkowski.


Attachment: TabControlExPreload_cfb6ee9f.7z


SN Sudharsan Narayanan Syncfusion Team March 2, 2022 03:35 AM UTC

Hi Janusz,

Sorry for the delay,

Currently, we are analyzing your reported query of “TabControlExt Preload”. We will validate and update you the details on or before 04th March 2022.

Regards,
Sudharsan



JB Janusz Bienkowski March 14, 2022 11:25 AM UTC

Can I count on a solution to this problem ?


Kind regards.

Janusz Bieńkowski



SN Sudharsan Narayanan Syncfusion Team March 25, 2022 03:51 AM UTC

Hi Janusz,

Sorry for the delay.

Now, we have modified your sample as in the Syncfusion TabControlExt control. Now, it works by preloading the content in the TabControlExt as the same as MS TabControl. Please find the sample below,

Sample:  https://www.syncfusion.com/downloads/support/forum/172467/ze/TabControlExPreload791118308

Please check the sample and let us know your concerns. We are happy to assist you.

Regards,
Sudharsan


Loader.
Up arrow icon