Defines the fluent API for configuring the PDFViewerMessagesErrorMessagesSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PDFViewerMessagesErrorMessagesSettingsBuilder
Inheritance: objectPDFViewerMessagesErrorMessagesSettingsBuilder
Inherited Members
Constructors
Initialize the PDFViewerMessagesErrorMessagesSettingsBuilder
public PDFViewerMessagesErrorMessagesSettingsBuilder(PDFViewerMessagesErrorMessagesSettings settings)
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 that configures the notfound.
Returns: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 that configures the notsupported.
Returns: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 that configures the parseerror.
Returns: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 that configures the popupblocked.
Returns: