This is a migrated thread and some comments may be shown as answers.

RadDocks inside TabStrip- Load only the selected Tab

1 Answer 135 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Nagasree
Top achievements
Rank 1
Nagasree asked on 19 Jan 2017, 08:15 PM

Hi,

We have a requirement of having tabs and radDocks in the RadTabStrip. I am saving the RadDock States in the database and using hidden update Panel as shown in the example project.

Is there a way to load only the selected tab Rad Docks and their state when the tab is selected instead of loading both the tabs?

We can have maximum of 19 Widgets on a single tab, and each RadDock inclues grids, images etc... To load all the widgets it is taking a long time. Please let me know if only the selected tab can be loaded instead of both the tabs. I tried using RenderSelectedPageOnly="true" of RadMultiPage, but did not change the loading time.

Attached a sample project with DashboardPage that has 2 tabs as 2 user controls. Please take a look at this and let me know.

PS: How do I attach a zip file which contains the sample project.

Thanks for all of your help.

Nagasree

 

 

 

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 24 Jan 2017, 11:06 AM
Hello Nagasree,

You can only attach files (except images) to a support tickets. As for the implementation - indeed, using the RenderSelectedPageOnly is the property that should be suitable in your scenario. As well as setting it to true, you should set the TabStrip PostBack property to true, in order to be able to load the second tab.

However, since you mentioned that this is not helping in your case, I would suggest you to make sure that the reason for the slow loading is the simultaneous rendering indeed. In other words, you can try placing the widgets from the one tab in a separate page and measure the loading time, in order to determine whether the RenderSelectedPageOnly has no effect indeed.

Regards,
Nencho
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TabStrip
Asked by
Nagasree
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or