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

ChatToolbarButtonsFactory

Methods

Add(System.String)

Adds a button by defining only a string.

Parameters

name - System.String

The button's name.

Example


            @( Html.Kendo().Chat()
                        .Name("Chat")
                        .Toolbar(toolbar => {
                              toolbar.Buttons(buttons => buttons
                                  .Add("button")
                              );
                         })
            )

Add()

Adds a button by defining only a string.

Example


            @( Html.Kendo().Chat()
                        .Name("Chat")
                        .Toolbar(toolbar => {
                              toolbar.Buttons(buttons => buttons
                                  .Add("button")
                              );
                         })
            )

In this article
Not finding the help you need?