PanelBarMessagesSettingsBuilder

Methods

Loading(System.String)

Specifies the text message shown while the root level items are loading.

Parameters

value - System.String

The value that configures the loading.

Example

Razor
 
             @(Html.Kendo().PanelBar()
                .Name("PanelBar")
                .Messages(msg => msg.Loading("loading..."))
             )
             

RequestFailed(System.String)

Specifies the text message shown when an error occurs while fetching the content.

Parameters

value - System.String

The value that configures the request failed.

Example

Razor
 
             @(Html.Kendo().PanelBar()
                .Name("PanelBar")
                .Messages(msg => msg.RequestFailed("Request failed"))
             )
             

Retry(System.String)

Specifies the text message shown in the retry button.

Parameters

value - System.String

The value that configures the retry.

Example

Razor
 
             @(Html.Kendo().PanelBar()
                .Name("PanelBar")
                .Messages(msg => msg.Retry("Try again"))
             )