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

export panel to pdf

2 Answers 197 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sabarishbabu
Top achievements
Rank 1
sabarishbabu asked on 09 Apr 2010, 12:11 PM
Hi,

  I want to export panel into pdf.
  Panel contains radgrid, radcombobox, raddatepicker.
  successfully export the grid but i got a long message in pdf for radcombobox and raddatepicked
//
Sys.Application.add_init(f
unction(){$create(Telerik.
Web.UI.RadComboBox,
{"_dropDownWidth":0,"_h
eight":0,"_skin":"Web20",
"_text":"Section2","_uniqu
eId":"ctl00$ctl00$Secure
PlaceHolder$SchedulerPl
aceHolder$2","_value":"",
"_virtualScroll":false,"clie
ntStateFieldID":"ctl00_ctl
00_SecurePlaceHolder_
SchedulerPlaceHolder_2
_ClientState","collapseAn
imation":"{\"duration\":450
}","expandAnimation":"{\"
duration\":450}","itemDat
a":[{"selected":true},{}],"s
electedIndex":0}, null,
null,
$get("ctl00_ctl00_Secure
PlaceHolder_SchedulerPl
aceHolder_2"));}); //


how to solve this problem...

Thanks

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Apr 2010, 08:31 PM
Hello Sabarishbabu,

You can export RadGrid using the built-in exporting capabilities. I'm afraid there is no easy way to export other controls with its engine.
In theory if you manage to parse the controls to simple HTML, you may succeed to export them if you insert this content in the raw HTML on PdfExporting.

Regards,
Daniel
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Michael
Top achievements
Rank 1
answered on 09 Jan 2012, 08:00 AM
Can you expand on this? How to I pass HTML to pdfexporting in c# ?
Tags
General Discussions
Asked by
sabarishbabu
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Michael
Top achievements
Rank 1
Share this question
or