Compiler Error Message: CS0433: The type 'Telerik.Web.UI.AjaxUpdatedControl' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Telerik.Web.UI\2008.2.826.35__121fae78165ba3d4\Telerik.Web.UI.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bt2009\f2afd4b4\7ca6f680\assembly\dl3\0ed21d71\001e5fb8_9ed0c701\Telerik.Web.UI.DLL'
Hello,
I have a data set which changes always. In my report I want to display all data tables of the data set programmatically.
I want to ask, if I can realise this by adding new sub reports. If so, could you kindly give me an example of C#?
Thanks a lot!
Dim
objReport1 As New SubReportClass
objReport1.ConnectString = ConnectString
objReport1.DateID = DateID
objReport1.StudentID = StudentID
objReport1.ID = value
Me.SubReport1.ReportSource = objReport1
Dim
section As Processing.DetailSection = (TryCast(sender, Processing.DetailSection))Dim dataRowView As DataRowView = TryCast(section.DataItem, DataRowView)
Dim objReport2 As New SubReportClass2
objReport2 .ConnectString = ConnectString
objReport2 .DateID = DatumID
objReport2 .StudentID = StudentID
objReport2 .GoalID = Integer.Parse(dataRowView("ID").ToString)
Me.SubReport2.ReportSource = objReport2
This shows results but what happens is that the first record of subreport2 shows no results in subreport1 and the second record of subreport2 shows results that belong to the previous record. This how it shows in the ReportViewer. A real print however shows a different result. The first record of subreport2 shows the last record and the second record and further each shows results that belong to the previous record.
I've tried lots of things so far but I can't find a solution.
I hope you understand my explanation and can you offer me some help with this.
Thanks.
Geert
Me.ReportViewer1.report = new ReferenceReport.Report1 |