Hello,
I want to add new windows form with Telerik Report Viewer form, but it appears me only the version telerik report viewer form R2 2016 and it says that incorrect version because i have and R1 2017 but it doesn't appers me in the common items.
This is my button click:
Private Sub btnRaport_Click(sender As Object, e As EventArgs) Handles btnRaport.Click
dgvOperatii.Hide()
rptOperatii.Visible = True
If rptOperatii.Visible = True Then
'Dim reportSource = New Telerik.Reporting.UriReportSource()
'ReportSource.Uri = "E:\Proiecte\SIG\TEST\Reports\Report_OperatiiStoc.trdp"
rpt1.DataSource = dgvOperatii.DataSource
rpt1.ReportParameters("DenumireFirma").Value = Detalii_Firma.Denumire
rpt1.ReportParameters("Nume_Gestiune").Value = CStr(cboDepo_From.SelectedValue).ToString
rpt1.ReportParameters("DInceput").Value = dt_Inceput.Value
rpt1.ReportParameters("DSfarsit").Value = dt_Sfarsit.Value
'rptOperatii.ReportSource = rpt1
rptOperatii.RefreshReport()
rptOperatii.Show()
Else
dgvOperatii.Show()
End If
End Sub
You can help me with this. I'm in a deadline and I'm in a hurry with it.
P.S The conclusion is that i need to make a Telerik report viewer on a click button after the gridview is loading.
Thank you very much.