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

Page number custom start..

1 Answer 16 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
muhammad
Top achievements
Rank 1
muhammad asked on 25 Oct 2012, 01:07 PM
Hi,
     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.



Thanks.

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 26 Oct 2012, 04:03 PM
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,
Petya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RichTextBox
Asked by
muhammad
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or