can StiWebViewerFx competent work without flash

Stimulsoft Ultimate discussion
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: can StiWebViewerFx competent work without flash

Post by HighAley »

Hello.

The trial version has no any limitation except Demo watermark.
Please, send us a sample project with all data which reproduces the issue for analysis.

Thank you.
a.ebbini
Posts: 101
Joined: Thu Jun 05, 2014 8:10 am
Location: Jordan

Re: can StiWebViewerFx competent work without flash

Post by a.ebbini »

You Can find the project in the attachment.please advice.
Thank you.
Attachments
ReportViewer.rar
Sample Project
(370.21 KiB) Downloaded 253 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: can StiWebViewerFx competent work without flash

Post by HighAley »

Hello.

Please, follow next steps:
1. Add GetReportData event:

Code: Select all

Protected Sub RV_GetReportData(sender As Object, e As Stimulsoft.Report.Web.StiReportDataEventArgs) Handles RV.GetReportData
    RV.Report.RegData("EmployeeView", GetEmployees)
End Sub
2. Set next properties of WebViewer:

Code: Select all

<cc1:StiWebViewer ID="RV" runat="server" RenderMode="AjaxWithCache" />
3. Change code that loads report:

Code: Select all

Private Sub ShowReport()

    Dim Report As Stimulsoft.Report.StiReport = New Stimulsoft.Report.StiReport
    Report.Load(My.Resources.Report)
    Report.Compile()
    Report.RegData("EmployeeView", GetEmployees)

    RV.Report = Report

End Sub
Thank you.
a.ebbini
Posts: 101
Joined: Thu Jun 05, 2014 8:10 am
Location: Jordan

Re: can StiWebViewerFx competent work without flash

Post by a.ebbini »

Hello,
Thank very much interactive sorting working well but there is another thing i put report selection combo when i choose the first report
it is render well with interactive sort but when i change the selection and i try view the second one it loads the first one.
And to solve the problem temporary i remove RenderMode="AjaxWithCache" property from report viewer and the report selection work well but without interactive sorting.
I have attach sample project.
I need your advice.
Thank you.
Attachments
ReportViewer.rar
(2.23 MiB) Downloaded 245 times
a.ebbini
Posts: 101
Joined: Thu Jun 05, 2014 8:10 am
Location: Jordan

Re: can StiWebViewerFx competent work without flash

Post by a.ebbini »

any update ?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: can StiWebViewerFx competent work without flash

Post by Vladimir »

Hello,

Sorry for the delay. Please, follow next steps:

1. In the ShowReport() method, add the following line of code before assigning report:

Code: Select all

        ....
        RV.ResetReport()
        RV.Report = Report
2. Change the condition in the Page_Load event to the following (or delete all of the code, if the automatic loading a report is not required):

Code: Select all

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'If Page.IsCallback Then
        If Not Page.IsPostBack Then
            ShowReport()
        End If
    End Sub
Thank you.
a.ebbini
Posts: 101
Joined: Thu Jun 05, 2014 8:10 am
Location: Jordan

Re: can StiWebViewerFx competent work without flash

Post by a.ebbini »

Dear Support Team,
Thank you very much.
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: can StiWebViewerFx competent work without flash

Post by Andrew »

Hello,

We are happy to help you!
Post Reply