or
var report = new TelerikComponentsWS.Reports.RepFeeReceipt(); |
report.DataSource = printdata; |
Telerik.Reporting.Drawing.ExternalStyleSheet exx = new Telerik.Reporting.Drawing.ExternalStyleSheet("~\\css\\ReprotStyleSheet.xml"); |
report.ExternalStyleSheets.Add(exx); |
report.ReportParameters[0].Value = strTitle; |
Telerik.Reporting.IReportDocument reportDocument = report; |
System.Drawing.Printing.PrinterSettings printerSettings |
= new System.Drawing.Printing.PrinterSettings(); |
// The standard print controller comes with no UI |
System.Drawing.Printing.PrintController standardPrintController = |
new System.Drawing.Printing.StandardPrintController(); |
// Print the report using the custom print controller |
Telerik.Reporting.Processing.ReportProcessor reportProcessor |
= new Telerik.Reporting.Processing.ReportProcessor(); |
reportProcessor.PrintController = standardPrintController; |
reportProcessor.PrintReport(report, printerSettings); |
Dim myReport1 As New someReport |
myReport1.oTable = oTable |
myReport1.subLoadReportHeader() |
Me.ReportViewer1.Report = myReport1 |
Private Sub someReport_NeedDataSource(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.NeedDataSource |
Me.DataSource = oTable |
End Sub |
chartseries.Type = Telerik.Reporting.Charting.ChartSeriesType.StackedBar; |
chartseries.Appearance.BarWidthPercent = 15; |
chartseries.Items[j].Label.Visible = false; |
chartseries.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(57, 19, 232); |