Report design in the run-time

edited June 2023 in FastReport .NET

Hello,

I have a Windows application developed under .Net

with this application, I used to build reports based on business objects as datasource

FastReport.Report rpt = new FastReport.Report();

      rpt.Load(AppUtils.GetReportPath() + @"\Complaint.frx");

      rpt.RegisterData(dt, dt.TableName);

      rpt.SetParameterValue("FromDate", fromDate);

      rpt.SetParameterValue("ToDate", toDate);

      rpt.SetParameterValue("IsTelShow", chkShowTel.Checked);

if(IsDesignMode)

{

rpt.Design();

}

else {

      rpt.Preview = previewControl1;

      rpt.Show();

}


Now, I want to move the project to a web application using core 3.1 (I will upgrade to ,Net7 later on)

my question here is how to use the same concept on .Net core 3.1 to register and show the designer like what I did in win app?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.