This is a migrated thread and some comments may be shown as answers.

CAN'T DISPLAY TELERIK REPORTING USING REPORT VIEWER !

2 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Berrabah
Top achievements
Rank 1
Berrabah asked on 24 Apr 2012, 02:48 PM
HI,
I have create a web class library that contient a telerik reporting,and in the same solution a have create a website project and a user control to display a telerik reporting, and for that i have put a report viewer in the user control,i have add the class library reference to the web site project
and put too :  

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load


        If Not IsPostBack Then
            Dim report As New HotelClassLibraryVb.HotelDashboard2
            'report1.DataSource = MyDataSource; 
            ReportViewer1.Report = report


        End If
    End Sub

In the user control to show the telerik reporting
But it doesn't work !!?I realy wish to know why 
Thankx

2 Answers, 1 is accepted

Sort by
0
Patrick
Top achievements
Rank 1
answered on 24 Apr 2012, 06:53 PM
Any particular reason why you've got this line commented out?
'report1.DataSource = MyDataSource;

0
Berrabah
Top achievements
Rank 1
answered on 25 Apr 2012, 07:01 AM
Hi Patrick,
Thank you for your poste,I have solved the problem, and that it's just code that I have copied that's all
Tags
General Discussions
Asked by
Berrabah
Top achievements
Rank 1
Answers by
Patrick
Top achievements
Rank 1
Berrabah
Top achievements
Rank 1
Share this question
or