Page number custom start..

2 posts, 0 answers
  1. muhammad
    muhammad avatar
    28 posts
    Member since:
    Jul 2010

    Posted 25 Oct 2012 Link to this post

         Is there any way I can skip pages from inserting page number in radrichtextbox?. Actually I want to start page numbering after skipping first few pages like (title page, table of content page etc) in my document. I have tried PageField but its not letting me skipp pages. Can any one please suggest me something in this regard.

  2. Petya
    Petya avatar
    990 posts

    Posted 26 Oct 2012 Link to this post

    Hi Muhammad,

    You can achieve the behavior you are looking for by creating several sections in your document - title page, table of contents, etc. Then you can make sure the sections you want paged have theirs FirstPageNumber property set.

    For example, you can create two sections - put the intro information in the first one and the content in the second section. Then you should set the mentioned property as follows:
    secondSection.FirstPageNumber = 1;
    Now when you insert a page field in the second section, it will start from 1.

    I hope this information is helpful! Please, do not hesitate to get back to us if you need further assistance.
    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top