New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PDFViewerMessagesErrorMessagesSettingsBuilder

Methods

NotSupported(System.String)

Parameters

value - System.String

The value that configures the notsupported.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .ErrorMessages(errmsg => errmsg.NotSupported("Only pdf files allowed."))
                )
             )

ParseError(System.String)

Parameters

value - System.String

The value that configures the parseerror.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .ErrorMessages(errmsg => errmsg.ParseError("PDF file fails to process."))
                )
             )

NotFound(System.String)

Parameters

value - System.String

The value that configures the notfound.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .ErrorMessages(errmsg => errmsg.NotFound("File is not found."))
                )
             )

PopupBlocked(System.String)

Parameters

value - System.String

The value that configures the popupblocked.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .ErrorMessages(errmsg => errmsg.PopupBlocked("Popup is blocked."))
                )
             )

In this article
Not finding the help you need?