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

SwitchMessagesSettingsBuilder

Methods

Checked(System.String)

Defines the text for the turned on state

Parameters

message - System.String

The new text for the turned on state.

Example


                   @(Html.Kendo().Switch()
                   .Name("switch")
                   .Messages(m => m.Checked("Yes"))
            )

Unchecked(System.String)

Defines the text for the turned off state

Parameters

message - System.String

The new text for the turned off state.

Example


                   @(Html.Kendo().Switch()
                   .Name("switch")
                   .Messages(m => m.Unchecked("No"))
            )

In this article
Not finding the help you need?