Defines the fluent API for configuring PDFViewerMessagesErrorMessagesSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PDFViewerMessagesErrorMessagesSettingsBuilder
Inheritance: objectPDFViewerMessagesErrorMessagesSettingsBuilder
Inherited Members
Constructors
PDFViewerMessagesErrorMessagesSettingsBuilder method.
public PDFViewerMessagesErrorMessagesSettingsBuilder(PDFViewerMessagesErrorMessagesSettings container)
Properties
Gets the settings being configured.
protected PDFViewerMessagesErrorMessagesSettings Container { get; }
Methods
Specifies the error message displayed when the specified PDF file URL returns a 404 error or the file cannot be located at the provided path.
public PDFViewerMessagesErrorMessagesSettingsBuilder NotFound(string value)
The value for NotFound
Returns:PDFViewerMessagesErrorMessagesSettingsBuilder
Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.
Specifies the error message displayed when a user attempts to open a file that is not a PDF format. This validation occurs during file selection or upload.
public PDFViewerMessagesErrorMessagesSettingsBuilder NotSupported(string value)
The value for NotSupported
Returns:PDFViewerMessagesErrorMessagesSettingsBuilder
Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.
Specifies the error message displayed when the PDF processing library fails to parse or render the PDF file due to corruption, unsupported features, or internal errors.
public PDFViewerMessagesErrorMessagesSettingsBuilder ParseError(string value)
The value for ParseError
Returns:PDFViewerMessagesErrorMessagesSettingsBuilder
Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.
Specifies the error message displayed when browser popup blockers prevent the PDF viewer from opening new windows for print or download operations.
public PDFViewerMessagesErrorMessagesSettingsBuilder PopupBlocked(string value)
The value for PopupBlocked
Returns:PDFViewerMessagesErrorMessagesSettingsBuilder
Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.