Telerik Forums
Reporting Forum
0 answers
89 views

I am developing with c# Telerik Winforms.
And I created a .trdp file using Telerik Reporting for label output.
Then I refered to the Telerik Reporting document.

<

Telerik.Reporting.UriReportSource urs= new Telerik.Reporting.UriReportSource();
urs = "Report.trdp";

>

I wrote it like this.
However, <urs = "Report.trdp";> gets the error "Cannot implicitly convert type 'Telerik.Reporting.UriReportSource'.

I want to print it out as a file made through Telerik Reporting, but I don't know what to do.

I made a .trdp file and put the .trdp file in the Report folder of my project.
And I want to send the parameters when I click the button on the cs, and make it output from the default printer right away without a preview.
I have no idea. Help me

 

++++ The designation of the reportSource for the uri was successful.
But the preview won't work.

>> Telerik.Repoting.UriReportSource urs = new Telerik.Reporting.UriReportSource();

urs.uri = @"Report/Report.trdp";

urs.Parameters.Add("Column", data);

 

Telerik.ReportViewer.Winforms.ReportViewer rv = new Telerik.ReportViewer.Winforms.ReportViewer();

rv.ReportEngineConnection = new Telerik.ReportViewer.Common.EmbeddedConnectionInfo().ConnectionString();

rv.ViewMode = Telerik.ReportViewer.Winforms.ViewMode.PrintPreview;

rv.ReportSource = urs;

 

rv.RefreshReport();

rv.ShowPageSetupDialog(); >>>> "There is no Report or the report is not previewed in the viewer"

I can't see how to print and if the value goes into the report.

arbam
Top achievements
Rank 1
Iron
 updated question on 06 Jul 2022
0 answers
130 views

Getting an error, while using method. What can be the reason ? 

Version using:  "Assembly RadGridReportingLite, Version=1.10.2.1, Culture=neutral, PublicKeyToken=null"

Dim report As New RadGridReport("")

report.ReportFormShow(Me, Me.rgvPrint)

Error Details

System.MissingMethodException
  HResult=0x80131513
  Message=Method not found: 'Telerik.WinControls.UI.MasterGridViewTemplate Telerik.WinControls.UI.RadGridView.get_MasterGridViewTemplate()'.
  Source=RadGridReportingLite
  StackTrace:
   at RadGridReportingLite.RadGridReport.GetRowHeight(RadGridView grid)
   at RadGridReportingLite.RadGridReport.GetGridDimensions(RadGridView grid)
   at RadGridReportingLite.RadGridReport.ReportFormShow(IWin32Window owner, RadGridView radGridView)
   at AdecBkOfficeAdmin.frmReportft.PrintMethodNew()
0 answers
109 views

Hi Team ,

After updating version of Telerik assemblies, Itemdatabound event[I have attached one screenshot for reference (its written in .vb file)]  is getting called while creating report as well while printing report. but I don't want it to get called while I am printing report. Is there any way that I can set autopostback(in telerik report) to false in telerik report ? Or any other solution will be appreciated to call Itemdatabound event only while creating report and not while printing.

Anyone can help me ? 

Kind regards, 

Payal

1 answer
631 views

Hi team,

I want to exclude export options (Exel ,RTF, TIFF, Web arhive) from Report designer's telerik ribbon . I can do this from web.config file but its getting excluded from other pages as well, I just wanted to exclude these options from single  page report not from all pages of my project.

Anyone can help me asap?

Kind regards,

Payal

 

Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?