3 Answers, 1 is accepted
0
Hi Ken,
When you are using .set_pdfSettings() client-side method, you actually override the PDF settings of your RadClientExportManager. So if you set only fileName, the pageBreakSelector will no longer be in the settings of the RadClientExportManager. Here you may find a screen-shot, showing this.
In your case, in order the multi-page functionality to work, you must use the following code:
where
You may find more information on Client-side programming in the following help article:
Hope this will be helpful.
Regards,
Aneliya Petkova
Telerik
When you are using .set_pdfSettings() client-side method, you actually override the PDF settings of your RadClientExportManager. So if you set only fileName, the pageBreakSelector will no longer be in the settings of the RadClientExportManager. Here you may find a screen-shot, showing this.
In your case, in order the multi-page functionality to work, you must use the following code:
cem.set_pdfSettings({fileName:
"PDF-Export"
, pageBreakSelector:
".pageBreak"
})
where
.pageBreak
is the class of the element on which you want to break the page.You may find more information on Client-side programming in the following help article:
Hope this will be helpful.
Regards,
Aneliya Petkova
Telerik
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 Feedback Portal
and vote to affect the priority of the items
0

Ken
Top achievements
Rank 1
answered on 30 Jul 2015, 06:46 PM
Ok I will try that. But then this statement does not apply....
important
It is not required to change all available properties. For example in your pdfSettings object you can set only the filename
0
Hi Ken,
Yes, that statement doesn't apply in this case, because pageBreakSelector is not a standard setting and it doesn't have a default value. So when you are adding PDF settings to the RadClientExportManager, if you don't specify for example "fileName", the file's name will be the default one. But if you don't specify the setting like pageBreakSelector, the page will not be exported in more than one page, because this is not set by default.
Regards,
Aneliya Petkova
Telerik
Yes, that statement doesn't apply in this case, because pageBreakSelector is not a standard setting and it doesn't have a default value. So when you are adding PDF settings to the RadClientExportManager, if you don't specify for example "fileName", the file's name will be the default one. But if you don't specify the setting like pageBreakSelector, the page will not be exported in more than one page, because this is not set by default.
Regards,
Aneliya Petkova
Telerik
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 Feedback Portal
and vote to affect the priority of the items