Web Report using Parameters

Stimulsoft Reports.NET discussion
Post Reply
hitesh
Posts: 3
Joined: Mon Sep 01, 2008 7:47 pm
Location: Long Beach, California

Web Report using Parameters

Post by hitesh »

Hi,

I'm trying to create a web report and having a lot of issues. I followed this guide:

http://www.stimulsoft.com/livedemos/dat ... n_Web.html

Looks simple enough but does not seem to work for me. First the parameters were not working for me, so I took them out and hard coded the parameter values in for now.

Here is the code i use in the page

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim report As StiReport = StiReport1.GetReport()
report.Compile()
report.Render()
StiWebViewer1.Report = report
End Sub

When I run the page, nothing comes up. Just a blank screen with the report view container, but nothing inside. Also if go to Design view for the page and click on StiReport1 at the bottom and choose "Show Report" the report comes up correctly.

Does anybody have ideas what is going on? Once I get this done, I will need help passing parameters into the report.

I'm using vs 2003 and connecting to Access database.


Thank you,
-Tesh






Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Web Report using Parameters

Post by Edward »

Hello, Tesh.

And how did you connect the report to its data? Could you send your report template (mrt file) to support[at]stimulsoft.com for analysis.

You can save report to mrt format in the Designer.

Thank you.
Post Reply