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

Values from ClientTemplate not in PDF Export

3 Answers 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 26 Jun 2015, 12:44 PM

Hi

I have the following ClientTemplate column:

columns.Bound(a => a.Quantity).Title("Anzahl").Width(55).ClientTemplate("<input class='text' value='#=Quantity#' id='Quantity' />").Format("{0:n0}");

Values displayed or entered here are not exported to PDF.

How can I make this work?

Thanks

 

 

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 30 Jun 2015, 09:02 AM

Hello Michael,

I would like to clarify that this a browser limitation and values entered in the input fields could not be exported. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Michael
Top achievements
Rank 1
answered on 30 Jun 2015, 12:47 PM
Is there a possibility to have the Quantity as a Label (which would be exported) and switch it to a TextBox from a click Event or something for entering the amount?
0
Accepted
Boyan Dimitrov
Telerik team
answered on 02 Jul 2015, 09:20 AM

Hello Michael,

 

Actually recently there were made some changes to the pdf export functionality. Testing with the latest version of Kendo the text typed in the input fields are exported as expected.

 

Please refer to the http://dojo.telerik.com/EKiwe example. If pdf.allPages is disabled the typed text in the input fields should be exported just fine. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Michael
Top achievements
Rank 1
Share this question
or