| <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
I have problem with retreiving data source columns defined for my report by clicking data explorer option in telerik reporting menu .
I have a class library project and inside it I create a new telerik reporting class . then I cancel it's wizard and I put a sql data adapter into my report and set my connection string and after that select my desire stored procedure in sql data adapter wizard from the list and then finisih. After doing all of the mentioned steps I select my report and then set it's data source to sql data adapter / datasource1 , but when I refer to data explorer option and select it report designer say : procedure or function sp_GetDailyOrders expected parameters @cmp_Id which was not supplied and then no data source column will retreive for me .
If go to select command property of my sql data adapter and then select it's sub property parameters and the assign a default value for my @cmp_Id then data explorer will retreive my data source columns .
Ok, may you please tell me what is the problem ! I don't want to set default value for my paremters .
Please help me .