Inserting a new page dynamically for "Table of Contents"

2 posts, 0 answers
  1. Tariq H
    Tariq H avatar
    10 posts
    Member since:
    Dec 2009

    Posted 15 Jan 2010 Link to this post


    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.


  2. Ivan
    Ivan avatar
    519 posts

    Posted 19 Jan 2010 Link to this post

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