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

Telerik report viewer Form R1 2017

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Emanuel
Top achievements
Rank 1
Emanuel asked on 31 Jan 2017, 09:49 AM

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.

 

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 02 Feb 2017, 02:27 PM
Hello Emanuel,

Since R3 2016 Telerik Reporting is no longer added to the Telerik group inside the Visual Studio Add New Item window.
The item template for the Windows Forms Report Viewer can be found inside the parent node: screenshot. Please use this item template to add the viewer.

Regards,
Nasko
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Emanuel
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or