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

ChatUserSettingsBuilder

Methods

IconUrl(System.String)

If set, sets the image url to be used for the user avatar icon.

Parameters

value - System.String

The value for IconUrl

Example


                @(Html.Kendo().Chat()
                    .Name("chat")
                    .User(u => u
                        .IconUrl("https://demos.telerik.com/kendo-ui/content/chat/avatar.png")
                    )
                )

Name(System.String)

Sets the name of the chat user.

Parameters

value - System.String

The value for Name

Example


                @(Html.Kendo().Chat()
                    .Name("chat")
                    .User(u => u
                        .Name("ChatBot Name")
                    )
                )

In this article
Not finding the help you need?