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

Inserting a new page dynamically for "Table of Contents"

1 Answer 56 Views
Book
This is a migrated thread and some comments may be shown as answers.
Tariq H
Top achievements
Rank 1
Tariq H asked on 15 Jan 2010, 02:39 PM

Hi

I am creating and attaching pages to my RadBook control dynamically at runtime.
Since I am creating a "Table of Contents" as well.
Thus I wanted to know that, is there a way to add a new blank page in between (say at page location 1 or 2 of the RadBook) for "Table of Contents" at runtime and keep on adding new pages as and when I get fresh data in patches.

I am following this approach since I am getting large amount of data that needs to be added within the RadBook pages dynamically and also adding links to the chapters dynamically within "Table of Contents" for which data have been loaded up as well.
Thereby allowing the user to start browsing the book instead of making him wait until the entire book have been loaded up.

Thanks
Tariq

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 20 Jan 2010, 12:17 AM
Hi Tariq,

Thank you for the nice scenario.

Please preview the attached example. It demonstrates how to move pages from one book to another. In a similar way you can modify both the structure of the book and the content of its index page. Please give it a try and let us know if you have more questions.


Sincerely yours,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Book
Asked by
Tariq H
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or