
AlexTZ
AlexTZ
About
- Username
- AlexTZ
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
Hello, You may subscribe to the Report.StartReport event and move the following code into the event handler: report_StartReport: { DataSourceBase detailDs = report.GetDataSource("detail"); detailDs.Load += new EventHandler(detailDs_Load); }
-
Hello, You can do it in the Page.StartPage event: Page1.PaperWidth = 300; // set to 300mm
-
The elegant solution is to use TimeSpan. Put this in your Text object, and you get hh:mm:ss value. [TimeSpan.FromSeconds(your_seconds_value)]
-
Since your sum is a number of seconds, you just can't format it using standard format means (you need DateTime value to do this). That's why you have to convert your value manually (either convert it to DateTime somehow, then format it using standar…
-
Hello, Since I can't test your example, I made my own. On the main form (Default.aspx) I have a hyperlink that calls another form, WebForm1.aspx. In that form, I have SqlDataSource and WebReport. The hyperlink url that calls the WebForm1, contain…
-
Hello, Sum your field using FastReport total, then convert the total value from seconds to hh:mm:ss format using a script function.
-
I will review your sample and let you know.
-
It's quite complex task. We plan to implement it in v1.4 or v1.5 (3-6 months).
-
Use the PDFExport class: Report report = new Report(); report.Load(...); report.RegisterData(...); report.Prepare(); PDFExport exp = new PDFExport(); MemoryStream stream = new MemoryStream(); exp.Export(report, stream); // now put this str…
-
Ok, then add this code in your Page_Load handler. You also need to check that the code is executed only one time. Something like this: static bool coon_added = false; protected void Page_Load(object sender, EventArgs e) { if (!conn_added) {…
-
Hello, Looks like you compile your project with old FR.Net version. Remove all FastReport dlls from your project folders (such as \bin and \obj) and recompile.
-
In webmode, you cannot print a report directly. You can export it to PDF and then print using Adobe Acrobat reader.
-
Hello, This can happen if you did not set the parameter value before generating a report. Could you send me an example project? tz@fast-report.com
-
Could you send me a simple project that demonstrates this error? tz@fast-report.com
-
Yes you have to put FastReport.MySql.dll into the Bin folder.
-
Do you use the Report component to generate a report in ASP.Net? If so, you need to execute the following code before you use a report: Config.WebMode = true; (if you use WebReport, this is not needed).
-
Hello, The bug will be fixed in the next daily build (tomorrow).
-
You can learn about restrictions in MSDN. Here is sample from FastReport class reference: ///
/// Gets or sets a set of permissions that will be restricted for the script code. /// /// /// Since the report script is comp… -
You should buy a license to remove "DEMO VERSION". If you did this, but still see the nag label, remove any FastReport dll from your project folders (especially \bin and \obj) and recompile your project.
-
You should execute this line of code at your application's startup. You may put it in the Program.cs file, for example: Â Â Â Â static void Main() Â Â Â Â { Â Â Â Â Â Â Application.EnableVisualStyles(); Â Â Â Â Â Â Application.SetCompatibleTextRen…
-
Hi Henk, We hope so too
-
Hello, Fixed, wait for the next daily build v1.2.47 (will be available tomorrow).
-
Hello, Please use latest available versions of FR.Net and FRNetConnections.zip.
-
Hello, You can prevent execution of such code using the Report.ScriptRestrictions property. See more info about this property in the class reference.
-
You will be able to use this code in the next daily build (1.2.46): Â Â Â Â Â Â DataTable master = new DataTable(); Â Â Â Â Â Â master.Columns.Add("CategoryID"); Â Â Â Â Â Â master.Columns.Add("CategoryName"); Â Â Â Â Â Â master.Rows.Add("1", "Bev…
-
Hello, Ok, I will add the event for your case. I will inform you when it will be available (probably tomorrow, in the next daily build).
-
Hello, If you use Asp.Net, you have to use WebReport component instead of Report. The Report.Show method is for WinForms. Read about it in the programmer's manual.
-
Hello, I've tested your example. It works well.       DataTable datatable = new DataTable();       // Add DataTable Columns       datatable.Columns.Add("ID");       datatable.Columns.Add("Name");       datatable.C…
-
Hello, It's not possible to hide the Code Tab from your code. If you have FR.Net Pro with source code, you can tweak the designer source.
-
Hello, If your datasource is sql-based, you may set up query parameters. For example: Master query ("Customers"): select CustName, CustID from Customers Detail query ("Orders"): select CustID, OrderDate, OrderTotal from Orders where Cus…