RenderMode Property

Top  Previous  Next

 

The RenderMode property indicates how and when a report should be rendered. All modes of the StiWebViewer component can be divided in two categories: using the caching of a rendered report, and without using caching of the rendered report.

The modes without caching

1. Standard

In this mode, the report should be re-rendered every time when the page is refreshed. In addition, this mode does not use Ajax to display the controls of the StiWebViewer and any report refresh with help of controls of the StiWebViewer component leads to the page refresh on what the report is output.

2. RenderOnlyCurrentPage

Very interesting mode of the report output. In this mode, the report is rendered only to the page that is currently displayed in the StiWebViewer component. For example, if the report consists of 100 pages (this is a big report to be output in the web), and the current page is the page number 5, the report will be rendered only up to the page number 5. The sever memory is saved in this mode.

3. Ajax

This mode uses Ajax to output a report and to update the content of the StiWebViewer component. For example, if a user goes to the next page of a report then not the whole page of the browser on what the StiWebViewer component is placed will be refreshed but only the next page of a report will be sent to the browser using the post-back query. This increases the convenience of working with the StiWebViewer component.

Modes with caching are UseCache and AjaxWithCache.

1. UseCache

With each refresh in the component StiWebViewer the reload of a page from the server occurs, but the report is not re-rendered as in the Standard mode and each time is loaded from the cache.

2. AjaxWithCache

This mode as well as the Ajax mode uses the Ajax technology to output a report and also is used for operations of refreshing the StiWebViewer component. However, unlike the Ajax mode, this AjaxWithCache mode does not re-render a report in each query of information on the server. The report that was earlier saved in cache is used.

 

 

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)