When will be the ASP.NET version ready ?
I have been using FastReport in Delphi for many years. Now I am developing my first Web application in ASP.NET using Visual Studio. I reached to a point where I have to decide and buy a Reporting Library.
My old experience and trust in FastReport pulls me to adopt it for .NET development too. May I know when FastReport will be ready for ASP.NET. I am forced to take a quick decision on this issue.
Tariq Changgez
My old experience and trust in FastReport pulls me to adopt it for .NET development too. May I know when FastReport will be ready for ASP.NET. I am forced to take a quick decision on this issue.
Tariq Changgez
Comments
It's almost ready, you can use the WebReport component in your ASP.Net project now. However we haven't finished some functionality:
- work in the medium-trust environment
- print from webreport (this requires the PDF export filter which is not ready yet)
- the documentation.
If you have questions regardind the WebReport component I will try to answer them all.
What is WebReport component. I don't know at all about it. Can you please provide some information about it.
Tariq
I little help will make me moving. [img]style_emoticons/<#EMO_DIR#>/unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> Tariq[/img]
Tariq
- setup all necessary data components. For example, it may be AccessDataSource.
- put the WebReport component on your form.
- in the smart tag menu, select the "Select Data Source..." item and choose the datasources you want to use in a report.
- select "Design Report..." item to run the report designer.
- create the report layout.
- close the designer when you have done.
The report will be saved in the "ReportResourceString" property of the WebReport component. It's a first and simplest way to use the report. Save changes in your project and run it. You will see the prepared report. This way has a shortcoming: the report is stored in the ViewState, so entire report template will be transferred to the client.
The second way is to save the report in a file. To do this:
- design your report.
- save it to the file.
- in the Solution Explorer, select the "App_Data" folder, right-click it and choose the "Add|Existing Item..." item. Select the report file that you just saved.
- select the WebReport component and clear its "ReportResourceString" property.
- select the "ReportFile" property, invoke its editor and choose the report from App_Data folder.
The third way is to use the report as a class. This way is the only one that will work in shared hosting (under medium trust). To do this:
- design your report.
- save in to the .cs/.vb file. To do this, select "file type" in the Save dialog. The file type maybe either .cs or .vb - it depends on the script language in the report (it may be changed in the "Report|Options..." menu).
- include that file into your project. It's better to put it in the App_Code folder.
- clear both "ReportResourceString" and "ReportFile" properties of the WebReport component.
- create the WebReport.OnStartReport event handler and write the following code in it:
SimpleListReport report = new SimpleListReport();
report.RegisterDataAsp(your_data, "your_data_name");
WebReport1.Report = report;
- if you need to design the report, open the report file (.frx ! not .cs or .vb), design it and save as .cs/.vb.
Tariq Changgez
Am new to this fast report.i was tryng as u said.
-- i dragged tat webreport to my aspx form
but i couldnt find any "Select Data Source"...
plz help me
I got it...but i cant create a datasource(Not able to make a connection) am using firebird as dbms...plz help me
Do you need to create a connection/datasource that is stored in a report, or to use an application dataset?
I got the connection and i made one datasource.i made one frx file and in button click am loading the frx file.but in pageload itself its loading,i need the report to load in button click only.
if u dont mind can u plz help me in using fastreport in asp.net in detail
Did you read the programmer's manual? It has several chapters about using FR in ASP.Net.
hii read it.but its not in detail,i need a detail one.for windows application its given in detail.but while coming to asp.net its not in detail.
am using asp.net and firebird as dbms.how can i make a datasource,and implement this in fast report.
plz help.
Sorry, I don't get the question. Please describe in details what you need to do.
it will be better if u provide one sample application of fast report in asp.net
thanks
ejaz
I'm new to the fast report. I downloaded the demo version and installed in my system, in the .Net tool box it will appear and i drag and drop this in my aspx file in that i click the design report, it will open the design window in that i want to call the dataset that i create in my asp.net application how can i do this? and i don't want to create the connection in .frm file itself for that i wish to call stored procedure to load the dataset that was created in my Asp.net application. would you please guide me to design the report with field that i created in the dataset of ASp.net application.
[topic="Report desing"]Report desing[/topic]
Since there is no DataSet visual component in ASP.NET, use ObjectDataSource component. Connect it to a table in your dataset, then use it in a report.