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

NotificationPositionSettingsBuilder

Methods

Pinned(System.Boolean)

Sets whether popup notifications should maintain their position during page scrolling.

Parameters

value - System.Boolean

Boolean value indicating whether the position should me maintained during page scrolling.

Example


             @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Pinned(true))
            )

Bottom(System.Int32)

Sets the position of the first popup notification with regard to the viewport's bottom edge.

Parameters

value - System.Int32

The value of the distance from bottom.

Example


             @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Bottom(12))
            )

Left(System.Int32)

Sets the position of the first popup notification with regard to the viewport's left edge.

Parameters

value - System.Int32

The value of the distance from left.

Example


             @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Left(12))
            )

Right(System.Int32)

Sets the position of the first popup notification with regard to the viewport's right edge.

Parameters

value - System.Int32

The value of the distance from right.

Example


             @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Right(12))
            )

Top(System.Int32)

Sets the position of the first popup notification with regard to the viewport's top edge.

Parameters

value - System.Int32

The value of the distance from top.

Example


             @( Html.Kendo().Notification()
                        .Name("Notification")
                        .Position(p=>p.Top(12))
            )

In this article
Not finding the help you need?