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

PDFViewerMessagesToolbarPagerSettingsBuilder

Methods

First(System.String)

Specifies the localization message of the tooltip of the button which navigates to the first page.

Parameters

value - System.String

The value that configures the first.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.First("Go to the first page")) 
                    )
                )
             )

Previous(System.String)

Specifies the localization message of the tooltip of the button which navigates to the previous page.

Parameters

value - System.String

The value that configures the previous.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.Previous("Go to the previous page")) 
                    )
                )
             )

Next(System.String)

Specifies the localization message of the tooltip of the button which navigates to the next page.

Parameters

value - System.String

The value that configures the next.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.Next("Go to the next page")) 
                    )
                )
             )

Last(System.String)

Specifies the localization message of the tooltip of the button which navigates to the last page.

Parameters

value - System.String

The value that configures the last.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.Last("Go to the last page")) 
                    )
                )
             )

Of(System.String)

Specifies the localization message of the label displayed after the pager input.

Parameters

value - System.String

The value that configures the of.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.Of("of")) 
                    )
                )
             )

Page(System.String)

Specifies the localization message of the label displayed after the pager input.

Parameters

value - System.String

The value that configures the page.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.Page("page")) 
                    )
                )
             )

Pages(System.String)

Specifies the localization message of the label displayed after the pager input.

Parameters

value - System.String

The value that configures the pages.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Toolbar(toolbar => toolbar
                        .Pager(pager => pager.Pages("pages")) 
                    )
                )
             )

In this article
Not finding the help you need?