objectdatasource support

Stimulsoft Reports.NET discussion
ID
Posts: 9
Joined: Wed Apr 18, 2007 3:39 am
Location: The Netherlands

objectdatasource support

Post by ID »

Hello,

I am testing the tool for our compnay but now I found on this forum that objectdatasource is not supported yet? Of course you just could use DataTables/DataSets but in our software we use much objectdatasources. After some testing using objectdatasource --> StiReportWeb --> StiWebViewer I could not get it working. Are there plans on making it work?

And antoher question: When i'm making a simple chart (page 2), sometimes the image is gone and i have to restart the ASP.NET development server (VS2005) . Any suggestions?

Thanx.
ID
Posts: 9
Joined: Wed Apr 18, 2007 3:39 am
Location: The Netherlands

objectdatasource support

Post by ID »

ID wrote:Hello,

I am testing the tool for our compnay but now I found on this forum that objectdatasource is not supported yet? Of course you just could use DataTables/DataSets but in our software we use much objectdatasources. After some testing using objectdatasource --> StiReportWeb --> StiWebViewer I could not get it working. Are there plans on making it work?

And antoher question: When i'm making a simple chart (page 2), sometimes the image is gone and i have to restart the ASP.NET development server (VS2005) . Any suggestions?

Thanx.
Also: When using a DataTable like this:

Code: Select all

        Reports.Cost_Summary_Report report = new Cost_Summary_Report();

        DataTable testTable = new DataTable("TEST");
        testTable.Columns.Add("CallCost", typeof(decimal));
        testTable.Columns.Add("FixedCost", typeof(decimal));
        testTable.Columns.Add("TotalCost", typeof(decimal));

        DataRow testRow = testTable.NewRow();

        testRow["CallCost"] = 1;
        testRow["FixedCost"] = 2;
        testRow["TotalCost"] = 3;

        report.RegData(testTable);

        StiWebViewer1.Report = report;
The report in the Web report viewer is empty, not even a header is seen. I saved the report code .cs file in the App_Code part of our web application. And use the "StiReportWeb" in design view using the smart tag "Design Report". In the report designer i set the datasource to a "Data from DataSet, DataTables" and added the three columns. The report consists of a HeaderBand, GroupHeaderBand and a DataBand where i added those three columns.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

objectdatasource support

Post by Vital »

ID wrote:Hello,

I am testing the tool for our compnay but now I found on this forum that objectdatasource is not supported yet? Of course you just could use DataTables/DataSets but in our software we use much objectdatasources. After some testing using objectdatasource --> StiReportWeb --> StiWebViewer I could not get it working. Are there plans on making it work?

And antoher question: When i'm making a simple chart (page 2), sometimes the image is gone and i have to restart the ASP.NET development server (VS2005) . Any suggestions?

Thanx.
Please build from 19 April (when it will be available). New build have some updated code related to ObjectDataSource and images in web reports (.Net 2 only). About images. Please change property ServerTimeOut of StiWebViewer.

Thank you.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

objectdatasource support

Post by Vital »

ID wrote:
ID wrote:Hello,

I am testing the tool for our compnay but now I found on this forum that objectdatasource is not supported yet? Of course you just could use DataTables/DataSets but in our software we use much objectdatasources. After some testing using objectdatasource --> StiReportWeb --> StiWebViewer I could not get it working. Are there plans on making it work?

And antoher question: When i'm making a simple chart (page 2), sometimes the image is gone and i have to restart the ASP.NET development server (VS2005) . Any suggestions?

Thanx.
Also: When using a DataTable like this:

Code: Select all

        Reports.Cost_Summary_Report report = new Cost_Summary_Report();

        DataTable testTable = new DataTable("TEST");
        testTable.Columns.Add("CallCost", typeof(decimal));
        testTable.Columns.Add("FixedCost", typeof(decimal));
        testTable.Columns.Add("TotalCost", typeof(decimal));

        DataRow testRow = testTable.NewRow();

        testRow["CallCost"] = 1;
        testRow["FixedCost"] = 2;
        testRow["TotalCost"] = 3;

        report.RegData(testTable);

        StiWebViewer1.Report = report;
The report in the Web report viewer is empty, not even a header is seen. I saved the report code .cs file in the App_Code part of our web application. And use the "StiReportWeb" in design view using the smart tag "Design Report". In the report designer i set the datasource to a "Data from DataSet, DataTables" and added the three columns. The report consists of a HeaderBand, GroupHeaderBand and a DataBand where i added those three columns.
Please check what you type in DataName property in report data source. In your case you need use "TEST".

Thank you.
ID
Posts: 9
Joined: Wed Apr 18, 2007 3:39 am
Location: The Netherlands

objectdatasource support

Post by ID »

Vital wrote:Please check what you type in DataName property in report data source. In your case you need use "TEST".

Thank you.
Thanks for the fast answering.
Changing the DataName property did not solve the problem. Now i used the report wizard to make the report.
In runtime I only see the ReportTitle, this also counts for the Preview tab in the designer. Shouldn't i see at least the headers?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

objectdatasource support

Post by Edward »

Please send a mrt file of your report. You can save a report in to this format in the Designer via 3rd button on the left.

Thank you.
ID
Posts: 9
Joined: Wed Apr 18, 2007 3:39 am
Location: The Netherlands

objectdatasource support

Post by ID »

Edward wrote:Please send a mrt file of your report. You can save a report in to this format in the Designer via 3rd button on the left.

Thank you.
Mail is send to support
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

objectdatasource support

Post by Edward »

We will inform you about our progress.

Thank you.
ID
Posts: 9
Joined: Wed Apr 18, 2007 3:39 am
Location: The Netherlands

objectdatasource support

Post by ID »

Edward wrote:We will inform you about our progress.

Thank you.
Ok, Thanks.. it works now.. I think the "StiReport report = StiReportWeb1.GetReport();" part was the missing link and I just messed is up further cause i did not found that anywhere.

But still problems with the chart. I made a Piechart with the two colums FixedCost and CallCost, but the chart image is not shown (Not Available). I have set the ServerTimeOut propertie to 00:30:00 but I think the problem is now somewhere else because I don't see it anyway.

I've set the next settings:

Fixed Cost Argument Data Column: TEST.FixedCost
Fixed Cost Value Data Column: TEST.FixedCost
Call Cost Argument Data Column: TEST.CallCost
Call Cost Value Data Column: TEST.CallCost

Am i missing some required fields or some? The designer preview shows a good pie chart.
ID
Posts: 9
Joined: Wed Apr 18, 2007 3:39 am
Location: The Netherlands

objectdatasource support

Post by ID »

When exporting to pdf it does work.. but in the webpage and html export the image is not loaded and is shown as unknown image...

Also i see that the preview tab and HTML preview tab does work but when i choose the "Preview" button in the Standard tool bar it shows a big red cross.
Post Reply