Ajax Issue
Posted: Fri Jan 04, 2008 5:39 pm
Hello,
Greetings from the other side of the world (Nogales, Sonora, MEXICO).
Recently we buyed StimultReport to integrate it with some applications. Already we tested it with a simple report
with about 70 pages but we have found an issue:
1.- In the Designer Report it shows us 70 pages and we can navigate from page 1 to page 2 ... correctly.
2.- We have created a Web Site and we used stiwebviewer and we placed code at server side as given:
----------------------------------------------- Server Side Code -----------------------------
Imports Stimulsoft.Report
Imports Stimulsoft.Report.Web
Imports System
Imports System.data
Partial Class _Default
Inherits System.Web.UI.Page
Dim report As New StiReport
Dim path As String = "C:\Inetpub\wwwroot\WebSite1\App_Code\Report.Dll"
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
report = StiReport.GetReportFromAssembly(path)
Me.StiWebViewer1.Report = report
Else
If Me.StiWebViewer1.RenderMode = StiRenderMode.Ajax Then
report = StiReport.GetReportFromAssembly(path)
Me.StiWebViewer1.Report = report
End If
End If
End Sub
End Class
--------------------------------------- End Server Side Code ---------------------------------
When we use the UseCache rendermode property, we can navigate very fast in every page.
But when we use ajax rendermode property, we can navigate but it's too slow, if we run it in debug mode
we saw that the report is like rendered everytime we navigate to another page.
Thank You.
:dumb:
Greetings from the other side of the world (Nogales, Sonora, MEXICO).
Recently we buyed StimultReport to integrate it with some applications. Already we tested it with a simple report
with about 70 pages but we have found an issue:
1.- In the Designer Report it shows us 70 pages and we can navigate from page 1 to page 2 ... correctly.
2.- We have created a Web Site and we used stiwebviewer and we placed code at server side as given:
----------------------------------------------- Server Side Code -----------------------------
Imports Stimulsoft.Report
Imports Stimulsoft.Report.Web
Imports System
Imports System.data
Partial Class _Default
Inherits System.Web.UI.Page
Dim report As New StiReport
Dim path As String = "C:\Inetpub\wwwroot\WebSite1\App_Code\Report.Dll"
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
report = StiReport.GetReportFromAssembly(path)
Me.StiWebViewer1.Report = report
Else
If Me.StiWebViewer1.RenderMode = StiRenderMode.Ajax Then
report = StiReport.GetReportFromAssembly(path)
Me.StiWebViewer1.Report = report
End If
End If
End Sub
End Class
--------------------------------------- End Server Side Code ---------------------------------
When we use the UseCache rendermode property, we can navigate very fast in every page.
But when we use ajax rendermode property, we can navigate but it's too slow, if we run it in debug mode
we saw that the report is like rendered everytime we navigate to another page.
Thank You.
:dumb: