Page 1 of 1

web view

Posted: Fri Mar 02, 2007 12:30 pm
by juance
How can view a report in a web page.
I work with VS2005

my routine is this

Protected Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Not Me.StiWebViewer1.IsImageRequest Then
st1.GetReport.Load("C:\StiReport12.mrt")
view.Report = st1.GetReport()
view.Report.Show()
End If

Why can`t view the report

Thanks in Advance

John

web view

Posted: Fri Mar 02, 2007 3:37 pm
by Vital
Please remove this line of code:

Code: Select all

view.Report.Show()
For also you need set property UseCache of StiWebViewer to true.

Thank you.