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

PDFViewerMessagesDialogsSettingsBuilder

Methods

ExportAsDialog(System.Action)

Parameters

configurator - System.Action<PDFViewerMessagesDialogsExportAsDialogSettingsBuilder>

The action that configures the exportasdialog.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Title("Export...")) 
                    )
                )
             )

OkText(System.String)

Parameters

value - System.String

The value that configures the oktext.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs.OkText("OK"))
                )
             )

Save(System.String)

Parameters

value - System.String

The value that configures the save.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs.Save("Save"))
                )
             )

Cancel(System.String)

Parameters

value - System.String

The value that configures the cancel.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs.Cancel("Cancel"))
                )
             )

Search(System.Action)

Parameters

configurator - System.Action<PDFViewerMessagesDialogsSearchSettingsBuilder>

The action that configures the search.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .Search(search => search.Close("Custom Close Message")) 
                    )
                )
             )

In this article
Not finding the help you need?