combit List & Label 25 - .NET Online Web Help
OnListLabelRequest Event (Html5ViewerOptions)

combit.ListLabel25.Web Namespace > Html5ViewerOptions Class : OnListLabelRequest Event
Event that is called when the Html5Viewer exports a report. This event must create a fully initialized ListLabel object. If not set, the global OnListLabelRequest-Event of the Html5ViewerConfig class is called.
Public Event OnListLabelRequest As EventHandler(Of ListLabelRequestEventArgs)
public event EventHandler<ListLabelRequestEventArgs> OnListLabelRequest
event EventHandler<ListLabelRequestEventArgs^>^ OnListLabelRequest
Event Data

The event handler receives an argument of type ListLabelRequestEventArgs containing data related to this event. The following ListLabelRequestEventArgs properties provide information specific to this event.

A custom object that was passed by the user when creating the viewer control.  
Sets the directory for temporary files that are generated while the report is created.  
If true, the Html5Preview will use the LL instance created in this callback for its own settings (language etc.).  
Returns the logger of the Html5Viewer instance as defined in Html5ViewerOptions.SetLogger. It is recommended to pass this logger to the ListLabel constructor in your event handler.  
This property must be assigned to the created List & Label instance.  
Contains the report name that was specified in the ReportName property (Html5ViewerControl) or the report name argument of @Html.Html5Viewer().  

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also