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

ChatMessagesSettingsBuilder

Methods

Placeholder(System.String)

The hint displayed in the input textbox of the widget.

Parameters

value - System.String

The value for Placeholder

Example


                @(Html.Kendo().Chat()
                    .Name("chat")
                    .Messages(m => m.Placeholder("Placeholder value ..."))
                )

SendButton(System.String)

The title and the aria-label attribute of the message box send button.

Parameters

value - System.String

The value for Send Button title and aria-label

Example


                @(Html.Kendo().Chat()
                    .Name("chat")
                    .Messages(m => m.SendButton("Send"))
                )

ToggleButton(System.String)

The title and the aria-label attribute of the toggle toolbar button.

Parameters

value - System.String

The value for Toggle Button title and aria-label

Example


                @(Html.Kendo().Chat()
                    .Name("chat")
                    .Toolbar(toolbar =>
                    {
                        toolbar.Toggleable(true);
                        toolbar.Buttons(buttons =>
                        {
                            buttons.Add("Button");
                        });
                    })
                    .Messages(m =>  m.ToggleButton("Toggle Button"))
                )

In this article
Not finding the help you need?