combit List & Label 24 - .NET Online Web Help
Html5Viewer Method
Example 


combit.ListLabel24.Web Namespace > Html5ViewerMVCHelper Class : Html5Viewer Method
The name of the report to show in the viewer.
Options to control the viewer's appearance.
Renders an HTML5-based component that displays reports in the browser, supporting all major browsers, operating systems and mobile devices. For the ASP.NET WebForms version of this control, see Html5ViewerControl.
Syntax
'Declaration
 
Public Shared Function Html5Viewer( _
   ByVal html As HtmlHelper, _
   ByVal reportName As String, _
   ByVal viewerOptions As Html5ViewerOptions _
) As MvcHtmlString

Parameters

html
reportName
The name of the report to show in the viewer.
viewerOptions
Options to control the viewer's appearance.
Example
@{
    Html5ViewerOptions options = new Html5ViewerOptions();
    options.UseCDNType = Html5ViewerOptions.CDNType.JQuery;
    @Html.Html5Viewer("RepParamTest", options);
 }
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

Html5ViewerMVCHelper Class
Html5ViewerMVCHelper Members