or
| <div style="display:none;"> |
| <telerik:ReportViewer ID="ReportViewer1" runat="server"> |
| </telerik:ReportViewer> |
| </div> |
| Protected Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPrint.Click |
| Try |
| Me.ReportViewer1.Report = New ShowPartInfoRpt |
| Me.ReportViewer1.Report.DataSource = Me._ProductInfo |
| Dim printScript = String.Format("{0}.PrintReport();", Me.ReportViewer1.ClientID) |
| Me.ClientScript.RegisterStartupScript(Me.GetType(), "ReportPrint", printScript, True) |
| Catch ex As Exception |
| 'Generic error handling routine here, not shown |
| End Try |
| End Sub |
where this.dataSource is a List<Obj>, everything works perfectly with the exception that the labels of the slices keep showing the Obj.Data value, instead I want it to show Obj.Label value, what do I need to do?
I hope this is a trivial question, but I can't seem to get it. I tried setting PlotArea.XAxis.DataLabelsColumn and Series.DataXColumn but nothing seems to work...
Thank you
Rodion