Default Avatar

AlexTZ

AlexTZ

About

Username
AlexTZ
Joined
Visits
0
Last Active
Roles
FR Team

Comments

  • Hello, Did you prepared the report first? report1.Prepare() Dim export As FastReport.Export.Pdf.PDFExport = New FastReport.Export.Pdf.PDFExport() report1.Export(export, "storeTransaction_")
  • Hello, It's by design - WebReport can print ONLY to PDF. There is no option to print directly to selected printer, like in WinForms. Possible ways to print from asp.net application: - print to printer that is accessible to the machine that hos…
  • Sorry, I don't understand your problem. When you create a new report, you need the datasource for it. You have to attach a data band to this datasource, if you want to print all datasource rows. If your data band is not attached to a datasource, …
  • Check your report, probably you need to assign the datasource to the "Data" band. Unbound data band displays one row only.
  • Hello, For WebReport please use StartReport event handler as described in the programmer's manual: "It can be done by using the StartReport event of the WebReport component. In this event handler, you can call the RegisterData and RegisterData…
  • Hello, It's impossible to add a new field to existing business object in this way. The only way is to add a new property to your business object, or create another business object which has all necessary properties.
  • FastReport.dll is already obfuscated. Exclude it from obfuscation (sorry, I'm not familiar with Dotfuscator and can't tell you how to do this).
  • I do some investigations and here is a result: When FR asks XAF to get property descriptors for the particular object, XAF returns own property descriptors, instead of real properties of your object. Looks like XAF descriptors are used to support i…
  • Hello, Sorry, it's not possible.
  • Hello Marco, Thanks for the test project. Due to some reason, XAF returns the Address.Country property type descriptor as IEnumerable. I think it is internal logic of XAF. But I cannot distinguish between 1:1 properties and lists. I think I will…
  • When you insert a decimal data column into your report (by dragging a data column from the "Data" window), FastReport automatically sets the format for the new text object to "Currency". In your case, you need to set it to General.
  • Another test case: Make a simple report with one text object. Create the BeforePrint event handler for this object:     private void Text1_BeforePrint(object sender, EventArgs e)     {       decimal d = 1.2m;       Text1.Tex…
  • I've checked it in the "Groups" demo report. The UnitPrice field is of Decimal type. If I set format to General for this field, I get 34 62.5 18
  • Hello, If you need to print the values as they are, set format to "General". You will get the following output: 1.2 1 1.234
  • Yes, we make a new build every midnight (GMT+3). So if I fix something, it will be available in the next build.
  • Hello, No, we haven't found the problem yet. I will let you know when we solve it.
  • Hello, Fixed. Sorry, autosize columns is impossible.
  • To access a datasource, use the following code: TableDataSource datasource = Report.GetDataSource("YourDataSource_Alias") as TableDataSource;
  • Hello, I've tried to search - no error for me. There is no such option in FR.Net. If you want continuous XLS export, uncheck the "Page breaks" checkbox in the export dialog. There is no option to skip page headers/footers now - we will add it …
  • Hello, Consider using autoseries, as described in the user's manual: "Report creation/Reports with charts/Chart editor/Setting up auto-series" To change the legend title, you need to use the following code: MSChart1.Chart.Titles[0].Text = …
  • Hello, 1) Barcodes and Charts work well in both Windows and Web mode. Probably you miss something. 2) WebReport can print only to PDF. There is no option to print directly to selected printer, like in WinForms. Possible ways to print from asp.…
  • Hello, 1) You have to set DefaultValue to something like 1/1/2000 - it must be a string value containing a valid date. The DefaultValue is used in design-time to get the table schema. In run-time (when you run a report) the Expression is used ins…
  • Hello, 1) Look at comparison table: http://www.fast-report.com/en/products/fas...ure-matrix.html The difference between these versions is source code. 2) You need to buy one license - FastReport.Net is licensed per developer, not per user.
  • Hello, Use the latest build, 1.1.30. Just put your chart on the group footer and that's all.
  • Use Res.LoadLocale method: // do this to ensure that FastReport config file is loaded using (Report report = new Report()); // load the locale then. Res.LoadLocale(name_of_frl_file_including_full_path);
  • If you want to modify existing .fr3 file, you need to use FastReport 4.
  • Hello, Arial font does not contain Chinese symbols. When you use it in Windows application to draw some text, Windows does the thing called "font substitution". It searches for another font that contains Chinese chars and uses it instead of Arial…
  • Here is how I use it before calling the designer and it works: Config.DesignerSettings.Restrictions.DontCreateReport = true; Config.DesignerSettings.Restrictions.DontLoadReport = true; Another way is to use EnvironmentSettings component and d…
  • Hello, If you want to replace the connection string, please read the programmer's manual, "Working with Windows.Forms/Passing own connection string" section.
  • Hello Albert, FastReport.Net does not support old .fr3 format directly. However, you may use converter tool that reads .fr3 file and saves it in .frx format: http://www.fast-report.com/pbc_download/files/fr3tofrx.exe This converter does no…