2011-03-22 20 views
0

VS2008 C#工作。我有一個並排報告,在這個報告中,我面臨着一些特殊的問題附上圖片詳細介紹一下我XtraReport的財產報告細節帶。我使用Multicolumn->方向 - >屬性 - > AcrossThenDown然後出口在PDF工作正常,但出現問題時,我在Excel中,DOC或其他format.But出口,我需要在Excel和DOC出口format.Can任何人都可以告訴我爲什麼我面臨這個問題。我如何檢索這個問題?XtraReport側通過Excel的側出口問題

DownThenAcross--->problem occurs right side report missing. 
AcrossThenDown--->I get the multicolumn report but problem on export in doc,excel. 

如果有任何疑問PLZ ask.Thanks提前

enter image description here

enter image description here

回答

0

出現問題是因爲出口XLS和DOC是不是基於作爲導出爲PDF頁面。解決此問題的方法是將報告的ExportOptions.Rtf(Xlsx).ExportMode屬性設置爲DevExpress.XtraPrinting.XlsxExportMode.SingleFilePageByPage值。

+0

謝謝reply.I不理解你給出的信息。你將plz描述如何使用ExportOptions.Rtf(Xlsx).ExportMode。在C#代碼或XtraReport中使用。 – shamim 2011-03-24 04:00:50

+0

您應該設置報告的ExportOptions.Rtf.ExportMode和ExportOptions.Xlsx.ExportMode屬性。 ExportOptions(http://documentation.devexpress.com/#XtraReports/DevExpressXtraReportsUIXtraReport_ExportOptionstopic)是XtraReport類的屬性,它們甚至可以在設計時更改。 – 2011-03-24 07:11:15

+0

這些屬性已經在report.above上設置了,我添加了一個包含報表屬性的圖片。這不影響導出,問題依舊。謝謝回覆 – shamim 2011-03-24 07:36:49