Are reports designed with the FR online designer interchangeable with the .Net Winforms/Asp.net repo

Hello

The title says it all: can I design templates with the online designer and use them in my fastreport.desktop or .Net Winforms application? And vice versa.

Or are the incompatbile?

thx
stefan

Comments

  • edited November 2017
    yes, from fr demo, mvc online designer, it will save frx file to your web folder, download the frx file and call with desktop application.
            [HttpPost]
            // call-back for save the designed report 
            public ActionResult SaveDesignedReport(string reportID, string reportUUID)
            {
                ViewBag.Message = String.Format("Confirmed {0} {1}", reportID, reportUUID);
                if (reportID == "DesignReport")
                {
                    // do something with designed report, for example
                    Stream reportForSave = Request.InputStream;
                    string pathToSave = Server.MapPath("~/App_Data/DesignedReports/test.frx");
                    using (FileStream file = new FileStream(pathToSave, FileMode.Create))
                    {
                        reportForSave.CopyTo(file);
                    }
                }
                return View();
            }
    

Leave a Comment