4 Answers, 1 is accepted
0
Accepted
Princy
Top achievements
Rank 2
answered on 08 Jan 2013, 08:49 AM
Hi,
Try the following code snippet to achieve your scenario.
C#:
Hope this helps.
Regards,
Princy.
Try the following code snippet to achieve your scenario.
C#:
protected void RadButton1_Click(object sender, System.EventArgs e){ foreach (TreeListDataItem item in RadTreeList1.Items) { if (item.Selected == false) { item.Visible = false; } } RadTreeList1.ExportSettings.OpenInNewWindow = true; RadTreeList1.ExportToPdf();}Hope this helps.
Regards,
Princy.
0
Sayantan
Top achievements
Rank 1
answered on 09 Jan 2013, 07:45 AM
Thanks it Works!!
0
Sayantan
Top achievements
Rank 1
answered on 09 Jan 2013, 07:58 AM
How can I use GridLines(Vertical and horizontal lines for each row) in the report exported to pdf.
e.g.
| AccountName | Amount|
| Capital Account | 100000 |
| Captial Subsidy | 5000 |
| GeneralReserve| 5000 |
e.g.
| AccountName | Amount|
| Capital Account | 100000 |
| Captial Subsidy | 5000 |
| GeneralReserve| 5000 |
0
Princy
Top achievements
Rank 2
answered on 09 Jan 2013, 10:18 AM
Hi,
Try the following code snippet to add border to the exported pdf file.
ASPX:
Hope this helps.
Regards,
Princy.
Try the following code snippet to add border to the exported pdf file.
ASPX:
<ExportSettings> <Pdf ItemStyle-BorderColor="Black" ItemStyle-BorderWidth="2px"> </Pdf></ExportSettings>Hope this helps.
Regards,
Princy.