Page 1 of 1

How to refresh Webviewer without reloading page

Posted: Wed Oct 18, 2023 7:31 pm
by jaimefuhr
I am using version 2022.1.2 .NETFrame 4.5.2.

I am attempting to use the following code but it will not refresh the WebViewer control. If the UpdatePanels are removed, the WebViewer will refresh the report. How can I do this without causing the entire page to reload?

I found a post from 2009 that says the webviewer "It has the algorithms for work without reload of pages." but I can't get this to work. How to you reload the webviewer?

Code: Select all

<asp:UpdatePanel runat="server" id="UPActions">
    <ContentTemplate>
    <label class="form-label">Status</label>
<asp:DropDownList ID="status" runat="server" CssClass="form-select"></asp:DropDownList>
 <asp:Button ID="submit" runat="server" CssClass="btn btn-primary" Text="Run Report" OnClick="submit_Click" />
    </ContentTemplate>
</asp:UpdatePanel>

<cc1:StiWebViewer ID="reportViewer" runat="server"></cc1:StiWebViewer>

Re: How to refresh Webviewer without reloading page

Posted: Thu Oct 19, 2023 7:50 am
by Lech Kulikowski
Hello,

Please try to use the RefreshTime property of the report.

Thank you.

Re: How to refresh Webviewer without reloading page

Posted: Thu Oct 19, 2023 3:41 pm
by jaimefuhr
Unfortunately, it did not work. I could see the indicator that the report was refreshing but the data did not update.

Re: How to refresh Webviewer without reloading page

Posted: Fri Oct 20, 2023 9:34 pm
by Lech Kulikowski
Hello,

How do you register data in for your report?

Also, you can use the OnViewerEvent to update data in your report.

Thank you.

Re: How to refresh Webviewer without reloading page

Posted: Thu Dec 07, 2023 2:19 am
by abshiregabrielle
It was a failure, regrettably. There was a refresh indicator, but the data remained unchanged in the report.

Re: How to refresh Webviewer without reloading page

Posted: Thu Dec 07, 2023 7:50 am
by Lech Kulikowski
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.

Re: How to refresh Webviewer without reloading page

Posted: Wed Dec 27, 2023 8:06 am
by Lech Kulikowski
Hello,

Thank you for the information.