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

[Solved] How do you render more than just selected page (but not all)

1 Answer 92 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 16 Mar 2010, 08:10 PM
Is there a way to initally render more than one page of a PageView control?  But not all of them.

the RadMultipage control has the ability to render all views, or only selected view.  I need to be able to pick and choose which view I want to initially render.

If the PageView control had the same functionality as the RadTree has with respect to the "Load On Demand" where it only loads the child nodes when you open that branch, but each subsequent click of that node, it does not perform a callback, that would be perfect.

Here is my scenario.
I have a tabstrip that has about 8 tabs.  3 of those 8 are related to a single record of data, and when you enter data into those fields, you can save that record.  The other 5 tabs are supporting data (grids, charts, images, etc...)  I want to render the first 3 pages so the user can navigate to those 3 pages quickly without having to perform a callback.  The supporting pages can easily be handled with a callback, because there is no saving of any data on those pages.

We had a developer who custom build a tab control that could handle all this, but we have out grown its functionality (due to inability to easily modify, and skin the control).  So we are using the RadTab control.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Mar 2010, 02:18 PM
Hello Russell,

You can simply set Visible property to false on the server for those pageviews that you don't need to be rendered.

Regarding the loan-on-demand pageviews, please check this online demo.

All the best,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TabStrip
Asked by
Ron
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or