RadDocks inside TabStrip- Load only the selected Tab

2 posts, 0 answers
  1. Nagasree
    Nagasree avatar
    8 posts
    Member since:
    Apr 2013

    Posted 19 Jan 2017 Link to this post

    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

     

     

     

  2. Nencho
    Admin
    Nencho avatar
    1749 posts

    Posted 24 Jan 2017 Link to this post

    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.
Back to Top